public class GrammaticalFunctionTreeNormalizer extends TreeNormalizer
| Modifier and Type | Field and Description |
|---|---|
protected TreebankLanguagePack |
tlp |
| Constructor and Description |
|---|
GrammaticalFunctionTreeNormalizer(TreebankLanguagePack tlp,
int nodeCleanup) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
cleanUpLabel(String label)
Remove things like hyphened functional tags and equals from the
end of a node label.
|
String |
normalizeNonterminal(String category)
Normalizes a nonterminal contents.
|
normalizeTerminal, normalizeWholeTreeprotected final TreebankLanguagePack tlp
public GrammaticalFunctionTreeNormalizer(TreebankLanguagePack tlp, int nodeCleanup)
public String normalizeNonterminal(String category)
normalizeNonterminal in class TreeNormalizercategory - The String that decorates this nonterminal node