org.apache.ctakes.core.ae
Class SimpleSegmentAnnotator
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.ctakes.core.ae.SimpleSegmentAnnotator
- All Implemented Interfaces:
- org.apache.uima.analysis_component.AnalysisComponent
public class SimpleSegmentAnnotator
- extends org.apache.uima.analysis_component.JCasAnnotator_ImplBase
Creates a single segment annotation that spans the entire document. This is
useful for running a TAE without a CasInitializer that would normally create
the segment annotations.
- Author:
- Mayo Clinic
Method Summary |
void |
initialize(org.apache.uima.UimaContext aContext)
|
void |
process(org.apache.uima.jcas.JCas jCas)
Entry point for processing. |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleSegmentAnnotator
public SimpleSegmentAnnotator()
initialize
public void initialize(org.apache.uima.UimaContext aContext)
throws org.apache.uima.resource.ResourceInitializationException
- 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 jCas)
throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
- Entry point for processing.
- Specified by:
process
in class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
- Throws:
org.apache.uima.analysis_engine.AnalysisEngineProcessException