edu.stanford.nlp.redwoods
Class RuleTable
java.lang.Object
|
+--edu.stanford.nlp.redwoods.RuleTable
- All Implemented Interfaces:
- Serializable
- public class RuleTable
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuleTable
public RuleTable()
getNumContexts
public int getNumContexts()
incCount
public void incCount(Object LHS,
Object RHS,
double cnt)
getTable
public ProductionsTable getTable(Object lhs)
getProb
public double getProb(Object LHS,
Object RHS)
removeEntry
public void removeEntry(Object LHS,
Object RHS)
removeEntry
public void removeEntry(Object LHS)
normalize
public void normalize()
logProbs
public void logProbs()
initUniform
public void initUniform()
Stanford NLP Group