edu.stanford.nlp.parser.lexparser
Class TransformTreeDependency

java.lang.Object
  extended byedu.stanford.nlp.parser.lexparser.TransformTreeDependency
All Implemented Interfaces:
Function

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 DependencyGrammarExtractor

Constructor Summary
TransformTreeDependency(TreebankLangParserParams tlpParams)
           
 
Method Summary
 Object apply(Object in)
          Converts an Object to a different Object.
 
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)
Method Detail

apply

public Object apply(Object in)
Description copied from interface: Function
Converts an Object to a different Object. 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