@Deprecated public class DocumentCategorizerTrainer extends org.apache.uima.collection.CasConsumer_ImplBase
Note: This class is still work in progress, and should not be used!
Constructor and Description |
---|
DocumentCategorizerTrainer()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
collectionProcessComplete(org.apache.uima.util.ProcessTrace trace)
Deprecated.
|
void |
destroy()
Deprecated.
Destroys the current instance.
|
void |
initialize()
Deprecated.
|
boolean |
isStateless()
Deprecated.
The trainer is not stateless.
|
void |
processCas(org.apache.uima.cas.CAS cas)
Deprecated.
|
void |
typeSystemInit(org.apache.uima.cas.TypeSystem typeSystem)
Deprecated.
|
batchProcessComplete, getProcessingResourceMetaData, initialize, isReadOnly, processCas, reconfigure
getConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValue
getCasManager, getLogger, getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void initialize() throws org.apache.uima.resource.ResourceInitializationException
initialize
in class org.apache.uima.collection.CasConsumer_ImplBase
org.apache.uima.resource.ResourceInitializationException
public void typeSystemInit(org.apache.uima.cas.TypeSystem typeSystem) throws org.apache.uima.resource.ResourceInitializationException
typeSystemInit
in interface org.apache.uima.collection.base_cpm.CasObjectProcessor
typeSystemInit
in class org.apache.uima.collection.CasConsumer_ImplBase
org.apache.uima.resource.ResourceInitializationException
public void processCas(org.apache.uima.cas.CAS cas) throws org.apache.uima.resource.ResourceProcessException
org.apache.uima.resource.ResourceProcessException
public void collectionProcessComplete(org.apache.uima.util.ProcessTrace trace) throws org.apache.uima.resource.ResourceProcessException, IOException
collectionProcessComplete
in interface org.apache.uima.collection.base_cpm.CasProcessor
collectionProcessComplete
in class org.apache.uima.collection.CasConsumer_ImplBase
org.apache.uima.resource.ResourceProcessException
IOException
public boolean isStateless()
isStateless
in interface org.apache.uima.collection.base_cpm.CasProcessor
isStateless
in class org.apache.uima.collection.CasConsumer_ImplBase
public void destroy()
destroy
in interface org.apache.uima.resource.Resource
destroy
in class org.apache.uima.collection.CasConsumer_ImplBase
Copyright © 2017 The Apache Software Foundation. All rights reserved.