@Deprecated public final class TokenizerTrainer extends org.apache.uima.collection.CasConsumer_ImplBase
Mandatory parameters
| Type | Name | Description |
|---|---|---|
| String | opennlp.uima.ModelName | The name of the model file |
| String | opennlp.uima.SentenceType | The full name of the sentence type |
| String | opennlp.uima.TokenType | The full name of the token type |
Optional parameters
| Type | Name | Description |
|---|---|---|
| Boolean | opennlp.uima.tokenizer.IsSkipAlphaNumerics |
| Constructor and Description |
|---|
TokenizerTrainer()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
collectionProcessComplete(org.apache.uima.util.ProcessTrace arg0)
Deprecated.
Called if the processing is finished, this method
does the training.
|
void |
destroy()
Deprecated.
Releases allocated resources.
|
void |
initialize()
Deprecated.
Initializes the current instance.
|
boolean |
isStateless()
Deprecated.
The trainer is not stateless.
|
void |
processCas(org.apache.uima.cas.CAS cas)
Deprecated.
Process the given CAS object.
|
void |
typeSystemInit(org.apache.uima.cas.TypeSystem typeSystem)
Deprecated.
Initialize the current instance with the given type system.
|
batchProcessComplete, getProcessingResourceMetaData, initialize, isReadOnly, processCas, reconfiguregetConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValuegetCasManager, getLogger, getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, setLoggerequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic void initialize()
throws org.apache.uima.resource.ResourceInitializationException
initialize in class org.apache.uima.collection.CasConsumer_ImplBaseorg.apache.uima.resource.ResourceInitializationExceptionpublic void typeSystemInit(org.apache.uima.cas.TypeSystem typeSystem)
throws org.apache.uima.resource.ResourceInitializationException
typeSystemInit in interface org.apache.uima.collection.base_cpm.CasObjectProcessortypeSystemInit in class org.apache.uima.collection.CasConsumer_ImplBaseorg.apache.uima.resource.ResourceInitializationExceptionpublic void processCas(org.apache.uima.cas.CAS cas)
public void collectionProcessComplete(org.apache.uima.util.ProcessTrace arg0)
throws org.apache.uima.resource.ResourceProcessException,
IOException
collectionProcessComplete in interface org.apache.uima.collection.base_cpm.CasProcessorcollectionProcessComplete in class org.apache.uima.collection.CasConsumer_ImplBaseorg.apache.uima.resource.ResourceProcessExceptionIOExceptionpublic boolean isStateless()
isStateless in interface org.apache.uima.collection.base_cpm.CasProcessorisStateless in class org.apache.uima.collection.CasConsumer_ImplBasepublic void destroy()
destroy in interface org.apache.uima.resource.Resourcedestroy in class org.apache.uima.collection.CasConsumer_ImplBaseCopyright © 2017 The Apache Software Foundation. All rights reserved.