edu.stanford.nlp.process
Class TreeToSentenceFunction

java.lang.Object
  extended byedu.stanford.nlp.process.TreeToSentenceFunction
All Implemented Interfaces:
Function

public class TreeToSentenceFunction
extends Object
implements Function

Function that turns a Tree into its Sentence yield. This is essentially flattening out the tree structure.

Author:
Joseph Smarr (jsmarr@stanford.edu)

Constructor Summary
TreeToSentenceFunction()
           
 
Method Summary
 Object apply(Object tree)
          Returns the Sentence yield of the given Tree.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeToSentenceFunction

public TreeToSentenceFunction()
Method Detail

apply

public Object apply(Object tree)
Returns the Sentence yield of the given Tree.

Specified by:
apply in interface Function


Stanford NLP Group