<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Hi Andreas,</span></div><div><br><span></span></div><div><span>thank you very much! The problem was this: I had run the <br></span></div><div><span> </span><span class="tab"> </span><span>make test</span></div><div>which gave me a DIFFER for every test. Then, I used the command line diff to take a look at things. <br></div><div><br></div><div>After you explained which script should be used, I took a look at it and noticed that it uses gawk and trying to run it, found out that I had neglected to install gawk. Running the test again after installing gawk gives me IDENTICALS everywhere :)</div><div><br></div><div>Regards,</div><div>Julia<br></div><div><br></div> <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <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> Andreas Stolcke <stolcke@icsi.berkeley.edu><br> <b><span style="font-weight: bold;">To:</span></b> Julia Hancke <julia_hancke@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> Thursday, April 12, 2012 8:11 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [SRILM User List] all tests differ but only minimally<br> </font> </div> <br>
<meta http-equiv="x-dns-prefetch-control" content="off"><div id="yiv1646686831">
<div>
On 4/12/2012 1:42 AM, Julia Hancke wrote:
<blockquote type="cite">
<div style="color:rgb(0, 0, 0);background-color:rgb(255, 255,
255);font-family:arial, helvetica, sans-serif;font-size:10pt;">
<div>Hi,</div>
<div><br>
</div>
<div>I'm new to SRILM after installation I ran the tests. The
stdout and stderr differed for all files. I checked on a few
files with the nix diff command and found out, some numbers
are off by small amounts likie this:</div>
<div><br>
</div>
<div>< 0 zeroprobs, logprob= -4.23739 ppl= <span>25.850<span style="font-weight:bold;">1</span></span><span style="font-weight:bold;"> </span>ppl1= 131.43<br>
> 0 zeroprobs, logprob= -4.23739 ppl= 25.850<span style="font-weight:bold;">2</span> ppl1= 131.43</div>
<div><br>
</div>
<div>Is this normal? What else could I do, or should I just live
with it? This is my machine: i686 athlon i386 GNU/Linux. Any
help is apprechiated.</div>
</div>
</blockquote>
Yes, this is normal, and shouldn't cause the tests to fail.<br>
<br>
The outputs of test runs are not compared using diff. Instead, the
script $SRILM/sbin/compare-outputs is used.<br>
Try <br>
compare-outputs REFERENCE OUTPUT<br>
and that should not complain about small numerical differences as
what you show above.<br>
If not, there is some kind of bug.<br>
<br>
Andreas<br>
<br>
</div>
</div><meta http-equiv="x-dns-prefetch-control" content="on"><br><br> </div> </div> </div></body></html>