public class DocumentCategorizerTrainer
extends org.apache.uima.collection.CasConsumer_ImplBase
| Constructor and Description |
|---|
DocumentCategorizerTrainer() |
| Modifier and Type | Method and Description |
|---|---|
void |
collectionProcessComplete(org.apache.uima.util.ProcessTrace trace) |
void |
destroy()
Destroys the current instance.
|
void |
initialize() |
boolean |
isStateless()
The trainer is not stateless.
|
void |
processCas(org.apache.uima.cas.CAS cas) |
void |
typeSystemInit(org.apache.uima.cas.TypeSystem typeSystem) |
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)
throws org.apache.uima.resource.ResourceProcessException
org.apache.uima.resource.ResourceProcessExceptionpublic void collectionProcessComplete(org.apache.uima.util.ProcessTrace trace)
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 © 2015 The Apache Software Foundation. All rights reserved.