[SRILM User List] ngram-count hangs and other problems

Andreas Stolcke stolcke at icsi.berkeley.edu
Thu Oct 10 07:51:14 PDT 2013


On 10/10/2013 5:37 AM, E wrote:
>
>
> Thanks!
>
> >1) Make sure you're building 64-bit executables.   If "file 
> bin/i686/ngram-count" says that it's an 32-bit >executable, do a "make 
> clean" and rebuilt with "make MACHINE_TYPE=i686-m64  ..." .
>
> This worked. I had to use "make OPTION=_l" though. Now there is no 
> problem of ngrams with positive log probability.
FYI,  OPTION=_l triggers the use of 64-bit integer counts stored in a 
lookup table so that each instance takes only 32bits (assuming the 
counts are used sparsely).   This is a way to support large counts on 
32bit machines, but doesn't really make sense on 64-bit machines.

Andreas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20131010/315292d7/attachment.html>


More information about the SRILM-User mailing list