Hi,

this may happen i the corpus is very small, or if you build a model
over a corpus with a small vocabulary (e.g. POS tags). Just do
not use the -kndiscount switch in that case.

-phi

2010/12/10 dongxinghua0213 <[email protected]>:
> Hi.
>   when I build lm using the following command :
> /home/top/programming/language_model/srilm/bin/i686/ngram-count -order 3
> -interpolate -kndiscount -text /media/sdb3/working-dir2/lm/lm -lm
> /media/sdb3/working-dir2/lm/raw.uy.lm
> an error occurs:
> one of modified KneserNey discounts is negative
> error in discount estimator for order 3
> Could somebody help me , thank you in advance !
>
> ________________________________
> 网易163/126邮箱百分百兼容iphone ipad邮件收发

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to