edu.stanford.nlp.mt
Class StayGoTable
java.lang.Object
|
+--edu.stanford.nlp.mt.StayGoTable
- public class StayGoTable
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StayGoTable
public StayGoTable(SentenceHandler sH)
getEntryStay
public ProbCountHolder getEntryStay(int index)
getEntryGo
public ProbCountHolder getEntryGo(int index)
getProbStay
public double getProbStay(int index)
getProbGo
public double getProbGo(int index)
incCountStay
public void incCountStay(int index,
double val)
incCountGo
public void incCountGo(int index,
double val)
initialize
public void initialize(double pstay)
- Initialize the table with some given value of stay
normalize
public void normalize()
save
public void save(String filename)
Stanford NLP Group