TokenizerModelResourceImpl (Apache OpenNLP UIMA Annotators 1.9.5 API)
Date: 2026-06-18

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 and Description
    `TokenizerModelResourceImpl()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### TokenizerModelResourceImpl

          public TokenizerModelResourceImpl()

  - ### Method Detail

    - #### 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

Copyright © 2026 The Apache Software Foundation. All rights reserved.