edu.stanford.nlp.trees.international.hebrew
Class HebrewTreeNormalizer
java.lang.Object
edu.stanford.nlp.trees.TreeNormalizer
edu.stanford.nlp.trees.BobChrisTreeNormalizer
edu.stanford.nlp.trees.international.hebrew.HebrewTreeNormalizer
- All Implemented Interfaces:
- Serializable
public class HebrewTreeNormalizer
- extends BobChrisTreeNormalizer
- Author:
- Spence Green
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HebrewTreeNormalizer
public HebrewTreeNormalizer()
normalizeWholeTree
public Tree normalizeWholeTree(Tree tree,
TreeFactory tf)
- Description copied from class:
BobChrisTreeNormalizer
- Normalize a whole tree -- one can assume that this is the
root. This implementation deletes empty elements (ones with
nonterminal tag label '-NONE-') from the tree, and splices out
unary A over A nodes. It does work for a null tree.
- Overrides:
normalizeWholeTree
in class BobChrisTreeNormalizer
- Parameters:
tree
- The tree to be normalizedtf
- the TreeFactory to create new nodes (if needed)
- Returns:
- Tree the normalized tree
Stanford NLP Group