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:
AnalysisComponent
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 JCasAnnotator_ImplBase
initializeMethods inherited from class JCasAnnotator_ImplBase
getRequiredCasInterface, processMethods inherited from class Annotator_ImplBase
getCasInstancesRequired, hasNext, nextMethods inherited from class AnalysisComponent_ImplBase
batchProcessComplete, collectionProcessComplete, destroy, getContext, getLogger, getResultSpecification, reconfigure, setResultSpecification
-
Constructor Details
-
GoldTagger
public GoldTagger()
-
-
Method Details
-
process
Description copied from class:JCasAnnotator_ImplBaseThis method should be overriden by subclasses. Inputs a JCAS to the AnalysisComponent. The AnalysisComponent "owns" this JCAS until such time asAnnotator_ImplBase.hasNext()is called and returns false (seeAnalysisComponentfor details).- Specified by:
processin classJCasAnnotator_ImplBase- Parameters:
jCas- a JCAS that this AnalysisComponent should process.- Throws:
AnalysisEngineProcessException- if a problem occurs during processing
-