Class AnnotationRemovalAnnotator
- java.lang.Object
-
- org.apache.uima.analysis_component.AnalysisComponent_ImplBase
-
- org.apache.uima.analysis_component.Annotator_ImplBase
-
- org.apache.uima.analysis_component.JCasAnnotator_ImplBase
-
- de.julielab.jcore.ae.annotationremoval.AnnotationRemovalAnnotator
-
- All Implemented Interfaces:
org.apache.uima.analysis_component.AnalysisComponent
public class AnnotationRemovalAnnotator extends org.apache.uima.analysis_component.JCasAnnotator_ImplBase
-
-
Field Summary
Fields Modifier and Type Field Description static StringPARAM_ANNOTATION_TYPES
-
Constructor Summary
Constructors Constructor Description AnnotationRemovalAnnotator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitialize(org.apache.uima.UimaContext aContext)This method is called a single time by the framework at component creation.voidprocess(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
-
-
-
-
Field Detail
-
PARAM_ANNOTATION_TYPES
public static final String PARAM_ANNOTATION_TYPES
- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
public void initialize(org.apache.uima.UimaContext aContext) throws org.apache.uima.resource.ResourceInitializationExceptionThis method is called a single time by the framework at component creation. Here, descriptor parameters are read and initial setup is done.- Specified by:
initializein interfaceorg.apache.uima.analysis_component.AnalysisComponent- Overrides:
initializein classorg.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:
processin classorg.apache.uima.analysis_component.JCasAnnotator_ImplBase
-
-