@PipeBitInfo(name="Knowtator XML Reader (Generic)", description="Read named entity annotations from knowtator xml files into the CAS.", role=SPECIAL, products={IDENTIFIED_ANNOTATION,GENERIC_RELATION}) public class GoldEntityAndAttributeReader extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
Modifier and Type | Field and Description |
---|---|
int |
identifiedAnnotationId |
static String |
inputDirectory |
static String |
PARAM_INPUTDIR |
Constructor and Description |
---|
GoldEntityAndAttributeReader() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(org.apache.uima.UimaContext aContext) |
void |
process(org.apache.uima.jcas.JCas jCas) |
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final String PARAM_INPUTDIR
public static String inputDirectory
public int identifiedAnnotationId
public void initialize(org.apache.uima.UimaContext aContext) throws org.apache.uima.resource.ResourceInitializationException
initialize
in interface org.apache.uima.analysis_component.AnalysisComponent
initialize
in class org.apache.uima.fit.component.JCasAnnotator_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.