<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><span>Hi,<br><br>I have found the same WER for the original n-best list and the rescored nbest list.</span><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div id="yiv1188783728"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span><br></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span>For rescoring, I use the
 following command:</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span>rescore-decipher nbestfilelist new_rescored_nbestlist_dir -lm updated_lm</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><br><span></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span>Is there anything wrong in the above command?</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><br><span></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;
background-color:transparent;font-style:normal;"><span>Thanks</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span>Best Regards</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span>Akmal<br></span></div><div><br></div>  <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Anand Venkataraman <venkataraman.anand@gmail.com><br> <b><span style="font-weight:bold;">To:</span></b> Md. Akmal Haidar <akmalcuet00@yahoo.com> <br><b><span style="font-weight:bold;">Cc:</span></b> "srilm-user@speech.sri.com"
 <srilm-user@speech.sri.com> <br> <b><span style="font-weight:bold;">Sent:</span></b> Saturday, November 3, 2012 2:30:50 PM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [SRILM User List] Fw: nbest-error option<br> </font> </div> <br><div id="yiv1188783728">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):<div><br></div><div>

<font face="'courier new', monospace">   export PATH=/srilm/bin:$PATH;   nbest-error nbestfilelist refs [-wer]</font></div><div><br></div><div>HTH</div><div><br></div><div>&<br><br><div class="yiv1188783728gmail_quote">On Sat, Nov 3, 2012 at 11:10 AM, Md. Akmal Haidar <span dir="ltr"><<a rel="nofollow" ymailto="mailto:akmalcuet00@yahoo.com" target="_blank" href="mailto:akmalcuet00@yahoo.com">akmalcuet00@yahoo.com</a>></span> wrote:<br>

<blockquote class="yiv1188783728gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size:12pt;font-family:times new roman, new york, times, serif;"><div style="font-family:times new roman, new york, times, serif;font-size:12pt;">

<div style="font-family:times new roman, new york, times, serif;font-size:12pt;"><br><div><div><div style="font-size:12pt;font-family:times new roman, new york, times, serif;"><div>Hi,</div><div><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">

I have found an error when I pass nbest-lattice options to the nbest-error in the nbest-scripts.</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">

<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">I use the following command:<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">

/srilm/bin/./nbest-error nbestfilelist refs
 [-wer]</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">

It gives the error line 44: nbest-lattice command not found</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">gawk: cmd. line 10: fatal: division by zero attempted. <br>

</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">

Could anyone please tell where is the
 fault? <br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">By the way, I want to compute the WER of a set of N-best list.</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">

<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">Thanks</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">

Best Regards<span class="yiv1188783728HOEnZb"><font color="#888888"><br></font></span></div><span class="yiv1188783728HOEnZb"><font color="#888888"><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">

Akmal<br></div></font></span></div></div></div><br><br> </div> </div>  </div></div><br>_______________________________________________<br>
SRILM-User site list<br>
<a rel="nofollow" ymailto="mailto:SRILM-User@speech.sri.com" target="_blank" href="mailto:SRILM-User@speech.sri.com">SRILM-User@speech.sri.com</a><br>
<a rel="nofollow" target="_blank" href="http://www.speech.sri.com/mailman/listinfo/srilm-user">http://www.speech.sri.com/mailman/listinfo/srilm-user</a><br></blockquote></div><br></div>
</div><br><br> </div> </div>  </div></div></div><br>_______________________________________________<br>SRILM-User site list<br><a ymailto="mailto:SRILM-User@speech.sri.com" href="mailto:SRILM-User@speech.sri.com">SRILM-User@speech.sri.com</a><br><a href="http://www.speech.sri.com/mailman/listinfo/srilm-user" target="_blank">http://www.speech.sri.com/mailman/listinfo/srilm-user</a><br><br> </div> </div>  </div></body></html>