edu.stanford.nlp.mt
Class StayGoTable

java.lang.Object
  |
  +--edu.stanford.nlp.mt.StayGoTable

public class StayGoTable
extends Object


Constructor Summary
StayGoTable(SentenceHandler sH)
           
 
Method Summary
 ProbCountHolder getEntryGo(int index)
           
 ProbCountHolder getEntryStay(int index)
           
 double getProbGo(int index)
           
 double getProbStay(int index)
           
 void incCountGo(int index, double val)
           
 void incCountStay(int index, double val)
           
 void initialize(double pstay)
          Initialize the table with some given value of stay
 void normalize()
           
 void save(String filename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StayGoTable

public StayGoTable(SentenceHandler sH)
Method Detail

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