edu.stanford.nlp.international.arabic.pipeline
Class MWETreeVisitor
java.lang.Object
edu.stanford.nlp.international.arabic.pipeline.MWETreeVisitor
- All Implemented Interfaces:
- TreeVisitor
public class MWETreeVisitor
- extends Object
- implements TreeVisitor
Converts VP < PP-CLR construction to MWV < MWP
- Author:
- Spence Green
Method Summary |
void |
visitTree(Tree t)
Does whatever one needs to do to a particular parse tree. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MWETreeVisitor
public MWETreeVisitor()
visitTree
public void visitTree(Tree t)
- Description copied from interface:
TreeVisitor
- Does whatever one needs to do to a particular parse tree.
- Specified by:
visitTree
in interface TreeVisitor
- Parameters:
t
- A tree. Classes implementing this interface can assume
that the tree passed in is not null
.
Stanford NLP Group