edu.stanford.nlp.trees.DependencyFactory 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 edu.stanford.nlp.ling.Label;
/**
* A factory for dependencies of a certain type.
*
* @author Christopher Manning
*/
public interface DependencyFactory {
public Dependency newDependency(Label regent, Label dependent);
public Dependency newDependency(Label regent, Label dependent, Object name);
}