|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--edu.stanford.nlp.mt.StayGoTables
stores several stay go tables for different contexts
| Constructor Summary | |
StayGoTables(int numTables,
SentenceHandler sH)
|
|
| Method Summary | |
ProbCountHolder |
getEntryGo(int index,
int jump)
|
ProbCountHolder |
getEntryStay(int index,
int jump)
|
int |
getMap(int jump)
|
double |
getProbGo(int index,
int jump)
|
double |
getProbStay(int index,
int jump)
|
void |
incCountGo(int index,
double val,
int jump)
|
void |
incCountStay(int index,
double val,
int jump)
|
void |
initialize(double pstay)
|
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 |
public StayGoTables(int numTables,
SentenceHandler sH)
| Method Detail |
public void initialize(double pstay)
public void normalize()
public void save(String filename)
public ProbCountHolder getEntryStay(int index,
int jump)
public ProbCountHolder getEntryGo(int index,
int jump)
public double getProbStay(int index,
int jump)
public double getProbGo(int index,
int jump)
public void incCountStay(int index,
double val,
int jump)
public void incCountGo(int index,
double val,
int jump)
public int getMap(int jump)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||