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

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TokenizerModelResourceImpl()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `opennlp.tools.tokenize.TokenizerModel`
  `getModel()`
  Retrieves the shared model instance.

  ### 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()
    Description copied from interface: `TokenizerModelResource`
    Retrieves the shared model instance.
    Specified by:
      `getModel` in interface `TokenizerModelResource`
    Returns:
      the shared model instance