public class ParserAnnotatorUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
fillInParseAnnotations(boolean verbose,
boolean buildGraphs,
GrammaticalStructureFactory gsf,
CoreMap sentence,
Tree tree)
Thread safety note: nothing special is done to ensure the thread
safety of the GrammaticalStructureFactory.
|
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)