edu.stanford.nlp.trees
Interface GrammaticalStructureFactory

All Known Implementing Classes:
ChineseGrammaticalStructureFactory, EnglishGrammaticalStructureFactory

public interface GrammaticalStructureFactory

A general factory for GrammaticalStructure objects.

Author:
Galen Andrew, John Bauer

Method Summary
 GrammaticalStructure newGrammaticalStructure(Tree t)
          Vend a new GrammaticalStructure based on the given Tree.
 

Method Detail

newGrammaticalStructure

GrammaticalStructure newGrammaticalStructure(Tree t)
Vend a new GrammaticalStructure based on the given Tree.

Parameters:
t - the tree to analyze
Returns:
a GrammaticalStructure based on the tree


Stanford NLP Group