public class PrettyPrintParseTree extends Object
| Constructor and Description |
|---|
PrettyPrintParseTree() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isPreTerminal(Tree t) |
static String |
pennString(Tree<String> tree) |
static StringBuilder |
toStringBuilder(Tree<String> tree,
StringBuilder sb,
boolean printOnlyLabelValue) |
public static StringBuilder toStringBuilder(Tree<String> tree, StringBuilder sb, boolean printOnlyLabelValue)
public static boolean isPreTerminal(Tree t)
Copyright © 2017. All rights reserved.