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

edu.stanford.nlp.parser.lexparser.GrammarProjection 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.parser.lexparser;

/** Maps between the states of a more split and less split grammar.
 *  (Sort of a precursor to the idea of "coarse-to-fine" parsing.)
 *
 *  @author Dan Klein
 */
public interface GrammarProjection {

  int project(int state);

  UnaryGrammar sourceUG();

  BinaryGrammar sourceBG();

  UnaryGrammar targetUG();

  BinaryGrammar targetBG();

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy