All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.stanford.nlp.trees.GrammaticalStructureFactory Maven / Gradle / Ivy

Go to download

Stanford Parser processes raw text in English, Chinese, German, Arabic, and French, and extracts constituency parse trees.

There is a newer version: 3.9.2
Show newest version
package edu.stanford.nlp.trees;

/**
 * A general factory for {@link GrammaticalStructure} objects.
 *
 * @author Galen Andrew
 * @author John Bauer
 */
public interface GrammaticalStructureFactory {

  /**
   * Vend a new {@link GrammaticalStructure} based on the given {@link Tree}.
   *
   * @param t the tree to analyze
   * @return a GrammaticalStructure based on the tree
   */
  GrammaticalStructure newGrammaticalStructure(Tree t);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy