@PipeBitInfo(name="E-E Cross- Sentence TLinker", description="Creates Event - Event TLinks across sentences.", dependencies={EVENT,TIMEX}, products=TEMPORAL_RELATION) public class CrossSentenceTemporalRelationAnnotator extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
Constructor and Description |
---|
CrossSentenceTemporalRelationAnnotator() |
Modifier and Type | Method and Description |
---|---|
protected void |
createRelation(org.apache.uima.jcas.JCas jCas,
IdentifiedAnnotation arg1,
IdentifiedAnnotation arg2,
String predictedCategory,
double confidence) |
static boolean |
isValidDate(String inDate) |
void |
process(org.apache.uima.jcas.JCas jCas) |
getLogger, initialize
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public CrossSentenceTemporalRelationAnnotator()
public static boolean isValidDate(String inDate)
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
protected void createRelation(org.apache.uima.jcas.JCas jCas, IdentifiedAnnotation arg1, IdentifiedAnnotation arg2, String predictedCategory, double confidence)
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.