public class ParserAnnotatorUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
fillInParseAnnotations(boolean verbose,
boolean buildGraphs,
GrammaticalStructureFactory gsf,
CoreMap sentence,
Tree tree,
GrammaticalStructure.Extras extras)
Put the tree in the CoreMap for the sentence, also add any
dependency graphs to the sentence, and fill in missing tag annotations.
|
static void |
setMissingTags(CoreMap sentence,
Tree tree)
Set the tags of the original tokens and the leaves if they
aren't already set.
|
public static void fillInParseAnnotations(boolean verbose,
boolean buildGraphs,
GrammaticalStructureFactory gsf,
CoreMap sentence,
Tree tree,
GrammaticalStructure.Extras extras)