Class RoomNumberAnnotator

All Implemented Interfaces:
AnalysisComponent

public class RoomNumberAnnotator extends 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