public class FTBCorrector extends java.lang.Object implements TreeTransformer
Also discards two trees of the form (SENT .), which appear in the Candito training set.
|Constructor and Description|
|Modifier and Type||Method and Description|
Does whatever one needs to do to a particular tree.
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Tree transformTree(Tree t)
Tree, and could itself work recursively, but the canonical usage is to invoke this method via the
Tree.transform()method, which will apply the transformer in a bottom-up manner to each local
Tree, and hence the implementation of
TreeTransformershould merely examine and change a local (one-level)
t- A tree. Classes implementing this interface can assume that the tree passed in is not
public static void main(java.lang.String args)
Stanford NLP Group