public class AssertionTreeUtils extends Object
Modifier and Type | Field and Description |
---|---|
static SimpleTree |
NULL_TREE |
Constructor and Description |
---|
AssertionTreeUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
elevateListConcepts(org.apache.uima.jcas.JCas jcas,
TreebankNode tree) |
static SimpleTree |
extractAboveLeftConceptTree(org.apache.uima.jcas.JCas jcas,
org.apache.uima.jcas.tcas.Annotation mention,
SemanticClasses sems) |
static SimpleTree |
extractAboveRightConceptTree(org.apache.uima.jcas.JCas jcas,
org.apache.uima.jcas.tcas.Annotation mention,
SemanticClasses sems) |
static SimpleTree |
extractFeatureTree(org.apache.uima.jcas.JCas jcas,
org.apache.uima.jcas.tcas.Annotation mention,
SemanticClasses sems) |
void |
randomizeWords(SimpleTree tree,
boolean dep) |
static void |
replaceDependencyWordsWithSemanticClasses(SimpleTree tree,
SemanticClasses sems) |
static void |
replaceWordsWithSemanticClasses(SimpleTree tree,
SemanticClasses sems) |
public static final SimpleTree NULL_TREE
public static SimpleTree extractFeatureTree(org.apache.uima.jcas.JCas jcas, org.apache.uima.jcas.tcas.Annotation mention, SemanticClasses sems)
public static SimpleTree extractAboveLeftConceptTree(org.apache.uima.jcas.JCas jcas, org.apache.uima.jcas.tcas.Annotation mention, SemanticClasses sems)
public static void elevateListConcepts(org.apache.uima.jcas.JCas jcas, TreebankNode tree)
public static SimpleTree extractAboveRightConceptTree(org.apache.uima.jcas.JCas jcas, org.apache.uima.jcas.tcas.Annotation mention, SemanticClasses sems)
public static void replaceWordsWithSemanticClasses(SimpleTree tree, SemanticClasses sems)
public static void replaceDependencyWordsWithSemanticClasses(SimpleTree tree, SemanticClasses sems)
public void randomizeWords(SimpleTree tree, boolean dep)
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.