@PipeBitInfo(name="Anafora XML Reader (DeepPhe)", description="Reads annotations from DeepPhe schema Anafora XML files in a directory.", role=SPECIAL, products=IDENTIFIED_ANNOTATION) public class DeepPheAnaforaXMLReader extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_ANAFORA_DIRECTORY |
static String |
PARAM_ANAFORA_XML_SUFFIXES |
Constructor and Description |
---|
DeepPheAnaforaXMLReader() |
Modifier and Type | Method and Description |
---|---|
static org.apache.uima.analysis_engine.AnalysisEngineDescription |
getDescription() |
static org.apache.uima.analysis_engine.AnalysisEngineDescription |
getDescription(File anaforaDirectory) |
static void |
main(String[] args) |
void |
process(org.apache.uima.jcas.JCas jCas) |
getLogger, initialize
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final String PARAM_ANAFORA_DIRECTORY
public static final String PARAM_ANAFORA_XML_SUFFIXES
public static org.apache.uima.analysis_engine.AnalysisEngineDescription getDescription() throws org.apache.uima.resource.ResourceInitializationException
org.apache.uima.resource.ResourceInitializationException
public static org.apache.uima.analysis_engine.AnalysisEngineDescription getDescription(File anaforaDirectory) throws org.apache.uima.resource.ResourceInitializationException
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.