Package opennlp.uima.tokenize

# Class TokenizerModelResourceImpl

java.lang.Object
opennlp.uima.util.AbstractModelResource<opennlp.tools.tokenize.TokenizerModel>
opennlp.uima.tokenize.TokenizerModelResourceImpl

All Implemented Interfaces:
  `TokenizerModelResource`, `org.apache.uima.resource.SharedResourceObject`

public class TokenizerModelResourceImpl extends AbstractModelResource<opennlp.tools.tokenize.TokenizerModel> implements TokenizerModelResource
A default implementation of `TokenizerModelResource`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TokenizerModelResourceImpl()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `opennlp.tools.tokenize.TokenizerModel`
  `getModel()`

  ### Methods inherited from class opennlp.uima.util.AbstractModelResource

  `load`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### TokenizerModelResourceImpl

    public TokenizerModelResourceImpl()

- ## Method Details

  - ### getModel

    public opennlp.tools.tokenize.TokenizerModel getModel()
    Specified by:
      `getModel` in interface `TokenizerModelResource`
    Returns:
      Retrieves the shared model instance.