Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Tree transformTree(Tree t)
Do the category splitting of the tree passed in.
This method defensively copies its argument, which is not changed.
- Specified by:
transformTree in interface
t - The tree to be annotated. This can be any tree with a
value() stored in Labels. The tree is assumed to have
preterminals that are parts of speech.
- The annotated version of the Tree (which is a completely
separate Tree with new tree structure and new labels). The
non-leaf nodes of the tree will be CategoryWordTag objects.
Stanford NLP Group