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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description opennlp.tools.tokenize.TokenizerModel
getModel()
Retrieves the shared model instance.-
Methods inherited from class opennlp.uima.util.AbstractModelResource
load
-
-
-
-
Method Detail
-
getModel
public opennlp.tools.tokenize.TokenizerModel getModel()
Description copied from interface:TokenizerModelResource
Retrieves the shared model instance.- Specified by:
getModel
in interfaceTokenizerModelResource
- Returns:
- the shared model instance
-
-