ÎÄóã Ô· 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
Click here to go to the SRILM home page.