org.apache.ctakes.drugner.ae
Class CopyDrugAnnotator
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.drugner.ae.CopyDrugAnnotator
- All Implemented Interfaces:
- org.apache.uima.analysis_component.AnalysisComponent
public class CopyDrugAnnotator
- extends org.apache.uima.analysis_component.JCasAnnotator_ImplBase
Utility annotator that copy's data from an existing JCas object into a new
JCas object.
- Author:
- duffp
Method Summary |
void |
initialize(org.apache.uima.UimaContext annotCtx)
|
void |
process(org.apache.uima.jcas.JCas jcas)
|
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 |
PARAM_SEGMENTS_TO_SKIP
public static final java.lang.String PARAM_SEGMENTS_TO_SKIP
- Value is "sectionOverrideSet". This parameter specifies which segments to skip.
The resulting range of tokens will include the entire contents of the span within
the section(s) specified in the sectionOverrideSet parameters of the SegmentLookupWindow
annotator. The parameter should be of type String, should be multi-valued and optional.
- See Also:
- Constant Field Values
CopyDrugAnnotator
public CopyDrugAnnotator()
initialize
public void initialize(org.apache.uima.UimaContext annotCtx)
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
- Specified by:
process
in class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
- Throws:
org.apache.uima.analysis_engine.AnalysisEngineProcessException