edu.stanford.nlp.mt
Class PTable
java.lang.Object
|
+--edu.stanford.nlp.mt.PTable
- public class PTable
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PTable
public PTable(SentenceHandler sH)
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