|
||||||||||
| 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.AbsoluteSmoother
kylm.model.ngram.smoother.KNSmoother
kylm.model.ngram.smoother.MKNSmoother
public class MKNSmoother
Calculate N-gram probabilities with Kneser-Ney smoothing
| Constructor Summary | |
|---|---|
MKNSmoother()
|
|
MKNSmoother(float[][] discounts)
Create a smoother with pre-set discounts |
|
| Method Summary | |
|---|---|
java.lang.String |
getAbbr()
|
java.lang.String |
getName()
|
| Methods inherited from class kylm.model.ngram.smoother.KNSmoother |
|---|
smooth |
| 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 MKNSmoother()
public MKNSmoother(float[][] discounts)
discounts - The discounts to use| Method Detail |
|---|
public java.lang.String getName()
getName in class KNSmootherpublic java.lang.String getAbbr()
getAbbr in class KNSmoother
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||