[SRILM User List] SRILM ngram-count error
Andreas Stolcke
stolcke at speech.sri.com
Wed Sep 22 10:58:02 PDT 2010
kyawkyaw zin wrote:
> Hello there,
>
> When I used ngram-count to generate language model as following:
>
> ../srilm/bin/i686/ngram-count -interpolate -kndiscount -unk -text
> en2my/corpus/clean.my -lm en2my/corpus/clean.my.lm
> where,
> clean.my is text file that contains Burmese sentences
>
> And I got the following error:
>
> *one of modified KneserNey discounts is negative
> error in discount estimator for order 1*
>
> Please let me know How to solve this problem ?
This is in the FAQ, item C3.
http://www-speech.sri.com/projects/srilm/manpages/srilm-faq.7.html
Andreas
More information about the SRILM-User
mailing list