edu.stanford.nlp.parser.lexparser
Class Rule
java.lang.Object
edu.stanford.nlp.parser.lexparser.Rule
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- BinaryRule, UnaryRule
public class Rule
- extends Object
- implements Serializable
Parent class for unary and binary rules.
- Author:
- Dan Klein
- See Also:
- Serialized Form
Constructor Summary |
Rule()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parent
public int parent
score
public double score
Rule
public Rule()
score
public double score()
isUnary
public boolean isUnary()
scoreComparator
public static Comparator<Rule> scoreComparator()
Stanford NLP Group