Class GoldTagger
java.lang.Object
org.apache.uima.analysis_component.AnalysisComponent_ImplBase
org.apache.uima.analysis_component.Annotator_ImplBase
org.apache.uima.analysis_component.JCasAnnotator_ImplBase
org.apache.uima.fit.component.JCasAnnotator_ImplBase
org.apache.uima.fit.examples.experiment.pos.GoldTagger
- All Implemented Interfaces:
org.apache.uima.analysis_component.AnalysisComponent
public class GoldTagger
extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
This AE assumes that their is part-of-speech tagged text in the default view with the format
"word/tag word/tag...". It converts this data into Token objects and plain text which are posted
to the GOLD_VIEW.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.uima.fit.component.JCasAnnotator_ImplBase
initializeMethods inherited from class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
getRequiredCasInterface, processMethods inherited from class org.apache.uima.analysis_component.Annotator_ImplBase
getCasInstancesRequired, hasNext, nextMethods inherited from class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
batchProcessComplete, collectionProcessComplete, destroy, getContext, getLogger, getResultSpecification, reconfigure, setResultSpecification
-
Constructor Details
-
GoldTagger
public GoldTagger()
-
-
Method Details
-
process
public void process(org.apache.uima.jcas.JCas jCas) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException - Specified by:
processin classorg.apache.uima.analysis_component.JCasAnnotator_ImplBase- Throws:
org.apache.uima.analysis_engine.AnalysisEngineProcessException
-