|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.nlp.international.arabic.Buckwalter.TreeConverter
public static class Buckwalter.TreeConverter
Converts Penn-style trees from Buckwalter to utf-8 Arabic and back. This is a TreeMangler. It changes the trees that it visits.
Constructor Summary | |
---|---|
Buckwalter.TreeConverter(boolean a2b)
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
void |
printDebug()
|
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 |
Constructor Detail |
---|
public Buckwalter.TreeConverter(boolean a2b)
Method Detail |
---|
public void visitTree(Tree t)
TreeVisitor
visitTree
in interface TreeVisitor
t
- A tree. Classes implementing this interface can assume
that the tree passed in is not null
.public void printDebug()
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |