edu.stanford.nlp.international.arabic
Class Buckwalter.TreeConverter

java.lang.Object
  extended by edu.stanford.nlp.international.arabic.Buckwalter.TreeConverter
All Implemented Interfaces:
TreeVisitor, Serializable
Enclosing class:
Buckwalter

public static class Buckwalter.TreeConverter
extends Object
implements TreeVisitor, Serializable

Converts Penn-style trees from Buckwalter to utf-8 Arabic and back. This is a TreeMangler. It changes the trees that it visits.

See Also:
Serialized Form

Constructor Summary
Buckwalter.TreeConverter(boolean a2b)
           
 
Method Summary
static void main(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

Buckwalter.TreeConverter

public Buckwalter.TreeConverter(boolean a2b)
Method Detail

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.

printDebug

public void printDebug()

main

public static void main(String[] args)
                 throws IOException
Throws:
IOException


Stanford NLP Group