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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    process(org.apache.uima.jcas.JCas aJCas)
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RoomNumberAnnotator

      public RoomNumberAnnotator()
  • Method Details

    • process

      public void process(org.apache.uima.jcas.JCas aJCas)
      Specified by:
      process in class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
      See Also:
      • JCasAnnotator_ImplBase.process(JCas)