Class SentenceAndTokenCopier
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.SentenceAndTokenCopier
- All Implemented Interfaces:
AnalysisComponent
This simple AE copies tokens and sentences from one view to another.
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.uima.fit.component.JCasAnnotator_ImplBase
initialize
Methods inherited from class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
getRequiredCasInterface, process
Methods inherited from class org.apache.uima.analysis_component.Annotator_ImplBase
getCasInstancesRequired, hasNext, next
Methods inherited from class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
batchProcessComplete, collectionProcessComplete, destroy, getContext, getLogger, getResultSpecification, reconfigure, setResultSpecification
-
Constructor Details
-
SentenceAndTokenCopier
public SentenceAndTokenCopier()
-
-
Method Details
-
process
Description copied from class:JCasAnnotator_ImplBase
This 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 (seeAnalysisComponent
for details).- Specified by:
process
in classJCasAnnotator_ImplBase
- Parameters:
jCas
- a JCAS that this AnalysisComponent should process.- Throws:
AnalysisEngineProcessException
- if a problem occurs during processing
-