|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkylm.model.ngram.smoother.NgramSmoother
kylm.model.ngram.smoother.MLSmoother
public class MLSmoother
Calculate N-gram maximum-likelihood probabilities (no smoothing)
| Constructor Summary | |
|---|---|
MLSmoother()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAbbr()
|
java.lang.String |
getName()
|
void |
smooth(NgramLM lm)
Smooth all the n-gram probabilities in a language model according to the appropriate smoothing algorithm. |
| Methods inherited from class kylm.model.ngram.smoother.NgramSmoother |
|---|
equals, getCutoffs, getDebugLevel, getSmoothUnigrams, setCutoffs, setDebugLevel, setSmoothUnigrams |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MLSmoother()
| Method Detail |
|---|
public void smooth(NgramLM lm)
NgramSmoother
smooth in class NgramSmootherlm - The N-gram language model to smooth.public java.lang.String getAbbr()
getAbbr in class NgramSmootherpublic java.lang.String getName()
getName in class NgramSmoother
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||