ngram -nbest-files

Andreas Stolcke stolcke at speech.sri.com
Mon Apr 23 22:40:56 PDT 2007


文筱 苑 wrote:
> Hi,  I have some problems in rescoring multiple n-best list.  The ngram -ppl option can yield the language model probability of each sentence, but can't deal with mulpitle n-best list at one run.  I then tried to use ngram -nbest-files option to rescore multiple n-best lists. But the language model score obtained was quite different from those from the above -ppl option. Aren't they both log probability (base 10) of a sentence?  Any help will be greatly appreciated.  Regards,  Wenxiao
>
> ------------------------------------------------------------------------
> 抢注雅虎免费邮箱-3.5G容量,20M附件! <http://cn.mail.yahoo.com> 
You need to make sure the nbest lists are in proper format, which is
different from the format
accepted by -ppl. The nbest formats are described in the nbest-format(5)
man page.

N-best rescoring should give the same log-10 probabilities are -ppl.
If not, please send a minimal example to reproduce the problem.

Andreas





More information about the SRILM-User mailing list