@PipeBitInfo(name="Drug Copier", description="Copies data from an existing JCas into a new JCas.", role=SPECIAL, dependencies=SECTION) public class CopyDrugAnnotator extends org.apache.uima.analysis_component.JCasAnnotator_ImplBase
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_SEGMENTS_TO_SKIP
Value is "sectionOverrideSet".
|
Constructor and Description |
---|
CopyDrugAnnotator() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(org.apache.uima.UimaContext annotCtx) |
void |
process(org.apache.uima.jcas.JCas jcas) |
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final String PARAM_SEGMENTS_TO_SKIP
public void initialize(org.apache.uima.UimaContext annotCtx) throws org.apache.uima.resource.ResourceInitializationException
initialize
in interface org.apache.uima.analysis_component.AnalysisComponent
initialize
in class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
org.apache.uima.resource.ResourceInitializationException
public void process(org.apache.uima.jcas.JCas jcas) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process
in class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.