About -bayes option in "ngram" command

Xiaolong Li xlm7b at mizzou.edu
Mon Mar 3 22:56:00 PST 2003


Hi,
    I met a problem in using "-bayes" option of "ngram" command when I want to interpolate two LM models (using posterier mixture weights). The below command doesn't work with an error message as "write() method not implemented".

ngram -lm LM1 -mix-lm LM2 -bayes 0 -write-lm MIX_LM 

but it works when I use a priori mixture weights (without -bayes option)

    Could you help me? Thanks a lot.

Hans Li
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20030303/aec4c574/attachment.html>


More information about the SRILM-User mailing list