public class PoStagger
extends org.apache.uima.fit.component.CasAnnotator_ImplBase
Constructor and Description |
---|
PoStagger()
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Releases allocated resources.
|
static org.apache.uima.analysis_engine.AnalysisEngineDescription |
getDescription(java.lang.String languageCode) |
void |
initialize(org.apache.uima.UimaContext context)
Initializes the current instance with the given context.
|
void |
process(org.apache.uima.cas.CAS tcas)
Performs pos-tagging on the given tcas object.
|
void |
typeSystemInit(org.apache.uima.cas.TypeSystem typeSystem)
Initializes the type system.
|
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public PoStagger()
initialize(org.apache.uima.UimaContext)
to initialize this instance. Not use the
constructor.public void initialize(org.apache.uima.UimaContext context) throws org.apache.uima.resource.ResourceInitializationException
initialize
in interface org.apache.uima.analysis_component.AnalysisComponent
initialize
in class org.apache.uima.fit.component.CasAnnotator_ImplBase
org.apache.uima.resource.ResourceInitializationException
public void typeSystemInit(org.apache.uima.cas.TypeSystem typeSystem) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
typeSystemInit
in class org.apache.uima.analysis_component.CasAnnotator_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
public void process(org.apache.uima.cas.CAS tcas)
process
in class org.apache.uima.analysis_component.CasAnnotator_ImplBase
public void destroy()
destroy
in interface org.apache.uima.analysis_component.AnalysisComponent
destroy
in class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
public static org.apache.uima.analysis_engine.AnalysisEngineDescription getDescription(java.lang.String languageCode) throws org.apache.uima.resource.ResourceInitializationException
org.apache.uima.resource.ResourceInitializationException