Class AnnotationRemovalAnnotator

  • All Implemented Interfaces:
    org.apache.uima.analysis_component.AnalysisComponent

    public class AnnotationRemovalAnnotator
    extends org.apache.uima.analysis_component.JCasAnnotator_ImplBase
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void initialize​(org.apache.uima.UimaContext aContext)
      This method is called a single time by the framework at component creation.
      void process​(org.apache.uima.jcas.JCas aJCas)
      This method is called for each document going through the component.
      • 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, getResultSpecification, reconfigure, setResultSpecification
    • Constructor Detail

      • AnnotationRemovalAnnotator

        public AnnotationRemovalAnnotator()
    • Method Detail

      • initialize

        public void initialize​(org.apache.uima.UimaContext aContext)
                        throws org.apache.uima.resource.ResourceInitializationException
        This method is called a single time by the framework at component creation. Here, descriptor parameters are read and initial setup is done.
        Specified by:
        initialize in interface org.apache.uima.analysis_component.AnalysisComponent
        Overrides:
        initialize in class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
        Throws:
        org.apache.uima.resource.ResourceInitializationException
      • process

        public void process​(org.apache.uima.jcas.JCas aJCas)
        This method is called for each document going through the component. This is where the actual work happens.
        Specified by:
        process in class org.apache.uima.analysis_component.JCasAnnotator_ImplBase