edu.stanford.nlp.international.arabic.pipeline
Class ATBCorrectorVisitor
java.lang.Object
edu.stanford.nlp.international.arabic.pipeline.ATBCorrectorVisitor
- All Implemented Interfaces:
- TreeVisitor
public class ATBCorrectorVisitor
- extends Object
- implements TreeVisitor
Wrapper class for using the ATBCorrector class with TreebankPipeline's
TVISITOR parameter.
- 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 |
ATBCorrectorVisitor
public ATBCorrectorVisitor()
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