Class RoomNumberAnnotator
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.ex1.RoomNumberAnnotator
- All Implemented Interfaces:
org.apache.uima.analysis_component.AnalysisComponent
public class RoomNumberAnnotator
extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
Here, the type capabilities are annotated using the @TypeCapability annotation which are used by
the AnalysisEngineFactory to specify this information in the descriptors returned by, e.g.
AnalysisEngineFactory.createPrimitive().
This class was copied from the uimaj-examples project and modified in following ways:
- The package name was changed to org.apache.uima.fit.tutorial.ex1
- The super class was changed to org.apache.uima.fit.component.JCasAnnotator_ImplBase
- The class is annotated with org.apache.uima.fit.descriptor.TypeCapability
-
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
-
RoomNumberAnnotator
public RoomNumberAnnotator()
-
-
Method Details
-
process
public void process(org.apache.uima.jcas.JCas aJCas) - Specified by:
processin classorg.apache.uima.analysis_component.JCasAnnotator_ImplBase- See Also:
-