public class HistoryAttributeClassifier extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HistoryAttributeClassifier.AnnotLocationComparator |
Modifier and Type | Field and Description |
---|---|
static ArrayList<String> |
FeatureIndex |
Constructor and Description |
---|
HistoryAttributeClassifier() |
Modifier and Type | Method and Description |
---|---|
static Boolean |
classifyWithLogic(HashMap<String,Boolean> vfeat) |
static HashMap<String,Boolean> |
extract(org.apache.uima.jcas.JCas jCas,
org.apache.uima.jcas.tcas.Annotation arg) |
static Boolean |
getHistory(org.apache.uima.jcas.JCas jCas,
IdentifiedAnnotation mention) |
static void |
main(String[] args) |
static Boolean |
precededByH_O(org.apache.uima.jcas.JCas jCas,
org.apache.uima.jcas.tcas.Annotation arg) |
public static Boolean getHistory(org.apache.uima.jcas.JCas jCas, IdentifiedAnnotation mention)
public static Boolean precededByH_O(org.apache.uima.jcas.JCas jCas, org.apache.uima.jcas.tcas.Annotation arg)
jCas
- - the jcas of the documentarg
- - the node getting features added to itpublic static HashMap<String,Boolean> extract(org.apache.uima.jcas.JCas jCas, org.apache.uima.jcas.tcas.Annotation arg)
public static void main(String[] args)
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.