edu.stanford.nlp.mt
Class PTable

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

public class PTable
extends Object


Constructor Summary
PTable(SentenceHandler sH)
           
 
Method Summary
 ProbCountHolder getEntryChoose(int index)
           
 double getProbChoose(int index)
           
 void incCountChoose(int index, double val)
           
 void initialize(double pch)
          Initialize the table with some given value of probability of choose
 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

PTable

public PTable(SentenceHandler sH)
Method Detail

getEntryChoose

public ProbCountHolder getEntryChoose(int index)

getProbChoose

public double getProbChoose(int index)

incCountChoose

public void incCountChoose(int index,
                           double val)

initialize

public void initialize(double pch)
Initialize the table with some given value of probability of choose


normalize

public void normalize()

save

public void save(String filename)


Stanford NLP Group