|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.stanford.nlp.parser.lexparser.TreeAnnotator
public class TreeAnnotator
Performs non-language specific annotation of Trees.
| Constructor Summary | |
|---|---|
TreeAnnotator(HeadFinder hf,
TreebankLangParserParams tlpp,
Options op)
|
|
| Method Summary | |
|---|---|
Tree |
transformTree(Tree t)
Do the category splitting of the tree passed in. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TreeAnnotator(HeadFinder hf,
TreebankLangParserParams tlpp,
Options op)
| Method Detail |
|---|
public Tree transformTree(Tree t)
transformTree in interface TreeTransformert - 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.
- Returns:
- 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||