Class UimaMeetingAnnotator
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.tutorial.ex6.UimaMeetingAnnotator
- All Implemented Interfaces:
AnalysisComponent
Example annotator that iterates over Meeting annotations and annotates a meeting as a UimaMeeting
if a UIMA acronym occurs in close proximity to that meeting. When combined in an aggregate TAE
with the UimaAcronymAnnotator, demonstrates the use of the ResourceManager to share data between
annotators.
-
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
-
UimaMeetingAnnotator
public UimaMeetingAnnotator()
-
-
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:
aJCas
- a JCAS that this AnalysisComponent should process.- Throws:
AnalysisEngineProcessException
- if a problem occurs during processing- See Also:
-
main
- Throws:
Exception
-