@PipeBitInfo(name="I2B2 XML Reader (THYME)", description="Reads annotations from THYME schema I2B2 XML files in a directory.", role=SPECIAL, products={EVENT,TEMPORAL_RELATION}) public class I2B2TemporalXMLReader extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
Modifier and Type | Field and Description |
---|---|
protected File |
inputDir |
protected boolean |
mapThyme |
static String |
PARAM_INPUT_DIR |
static String |
PARAM_MAP_THYME |
Constructor and Description |
---|
I2B2TemporalXMLReader() |
Modifier and Type | Method and Description |
---|---|
static org.apache.uima.analysis_engine.AnalysisEngineDescription |
getDescription(File xmlDirectory) |
void |
process(org.apache.uima.jcas.JCas jcas) |
getLogger, initialize
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final String PARAM_INPUT_DIR
protected File inputDir
public static final String PARAM_MAP_THYME
protected boolean mapThyme
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
public static org.apache.uima.analysis_engine.AnalysisEngineDescription getDescription(File xmlDirectory) throws org.apache.uima.resource.ResourceInitializationException
org.apache.uima.resource.ResourceInitializationException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.