[SRILM User List] Fw: nbest-error option

Md. Akmal Haidar akmalcuet00 at yahoo.com
Sun Nov 4 12:52:05 PST 2012


Thanks Anand,
It works now.

But I found the same WER for the original n-best list and the rescored nbest list.

For rescoring, I use the following command:
rescore-decipher nbestfilelist new_rescored_nbestlist_dir -lm updated_lm

Is there anything wrong in the above command?

Thanks
Best Regards
Akmal



________________________________
 From: Anand Venkataraman <venkataraman.anand at gmail.com>
To: Md. Akmal Haidar <akmalcuet00 at yahoo.com> 
Cc: "srilm-user at speech.sri.com" <srilm-user at speech.sri.com> 
Sent: Saturday, November 3, 2012 2:30:50 PM
Subject: Re: [SRILM User List] Fw: nbest-error option
 

Because you invoke nbest-error using the full path, I suspect that it's not in your $PATH environment variable. It needs to be because the script nbest-error invokes nbest-lattice directly. Try (bash):

   export PATH=/srilm/bin:$PATH;   nbest-error nbestfilelist refs [-wer]

HTH

&


On Sat, Nov 3, 2012 at 11:10 AM, Md. Akmal Haidar <akmalcuet00 at yahoo.com> wrote:


>
>Hi,
>
>
>I have found an error when I pass nbest-lattice options to the nbest-error in the nbest-scripts.
>
>
>I use the following command:
>
>/srilm/bin/./nbest-error nbestfilelist refs [-wer]
>
>
>It gives the error line 44: nbest-lattice command not found
>gawk: cmd. line 10: fatal: division by zero attempted. 
>
>
>
>Could anyone please tell where is the fault? 
>
>By the way, I want to compute the WER of a set of N-best list.
>
>
>Thanks
>Best Regards
>Akmal
>
>
>
>_______________________________________________
>SRILM-User site list
>SRILM-User at speech.sri.com
>http://www.speech.sri.com/mailman/listinfo/srilm-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20121104/e6ae75fc/attachment.html>


More information about the SRILM-User mailing list