edu.stanford.nlp.trees.GrammaticalStructureFromDependenciesFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stanford-parser Show documentation
Show all versions of stanford-parser Show documentation
Stanford Parser processes raw text in English, Chinese, German, Arabic, and French, and extracts constituency parse trees.
package edu.stanford.nlp.trees;
import java.util.List;
/**
* An interface for a factory that builds a GrammaticalStructure from
* a list of TypedDependencies and a TreeGraphNode. This is useful
* when building a GrammaticalStructure from a conll data file, for example.
*
* @author John Bauer
*/
public interface GrammaticalStructureFromDependenciesFactory {
GrammaticalStructure build(List projectiveDependencies, TreeGraphNode root);
}