edu.stanford.nlp.parser.lexparser
Class TransformTreeDependency

java.lang.Object
  extended by edu.stanford.nlp.parser.lexparser.TransformTreeDependency
All Implemented Interfaces:
Function, Serializable

public class TransformTreeDependency
extends Object
implements Function

Author:
Kristina Toutanova (kristina@cs.stanford.edu) The purpose of this class is to do the necessary transformations to parse trees read off the treebank, so that they can be passed to a MLEDependencyGrammarExtractor
See Also:
Serialized Form

Constructor Summary
TransformTreeDependency(TreebankLangParserParams tlpParams, boolean forceCNF)
           
 
Method Summary
 Object apply(Object in)
          Converts a T1 to a different T2.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformTreeDependency

public TransformTreeDependency(TreebankLangParserParams tlpParams,
                               boolean forceCNF)
Method Detail

apply

public Object apply(Object in)
Description copied from interface: Function
Converts a T1 to a different T2. For example, a Parser will convert a Sentence to a Tree. A Tagger will convert a Sentence to a TaggedSentence.

Specified by:
apply in interface Function


Stanford NLP Group