edu.stanford.nlp.parser.lexparser.Rule 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.parser.lexparser;
/**
* Interface for int-format grammar rules.
* This replaces the class that used to be a superclass for UnaryRule and BinaryRule.
*
* @author Christopher Manning
*/
public interface Rule {
public float score();
public int parent();
}