|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.nlp.pipeline.ParserAnnotatorUtils
public class ParserAnnotatorUtils
Method Summary | |
---|---|
static void |
convertToCoreLabels(Tree tree)
Converts the tree labels to CoreLabels. |
static void |
fillInParseAnnotations(boolean verbose,
boolean buildGraphs,
CoreMap sentence,
Tree tree)
|
static SemanticGraph |
generateCCProcessedDependencies(Tree tree)
|
static SemanticGraph |
generateCollapsedDependencies(Tree tree)
|
static SemanticGraph |
generateDependencies(Tree tree,
boolean collapse,
boolean ccProcess,
boolean includeExtras,
boolean lemmatize,
boolean threadSafe)
|
static SemanticGraph |
generateUncollapsedDependencies(Tree tree)
|
static void |
setMissingTags(CoreMap sentence,
Tree tree)
Set the tags of the original tokens and the leaves if they aren't already set |
static Tree |
xTree(java.util.List<? extends HasWord> words)
Construct a fall through tree in case we can't parse this sentence |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SemanticGraph generateDependencies(Tree tree, boolean collapse, boolean ccProcess, boolean includeExtras, boolean lemmatize, boolean threadSafe)
public static SemanticGraph generateUncollapsedDependencies(Tree tree)
public static SemanticGraph generateCollapsedDependencies(Tree tree)
public static SemanticGraph generateCCProcessedDependencies(Tree tree)
public static void fillInParseAnnotations(boolean verbose, boolean buildGraphs, CoreMap sentence, Tree tree)
public static void setMissingTags(CoreMap sentence, Tree tree)
public static void convertToCoreLabels(Tree tree)
tree
- public static Tree xTree(java.util.List<? extends HasWord> words)
words
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |