order of options to ngram-count

Alexy Khrabrov deliverable at gmail.com
Fri Nov 2 03:25:13 PDT 2007


My impression is that ngram-count is sensitive to the order of  
options (1.5.4b from yesterday).

ngram-count -text - order 1 -write unigrams.count # takes up all  
memory, runs forever

ngram-count -order 1 -text - write unigrams.count # finishes up  
quickly in a fraction of memory

Does the former honor -order 1?  What's the rule here -- trailing - 
write is honored anyways?  I now stick other flags, such as -tolower,  
in front of -text - .

Cheers,
Alexy



More information about the SRILM-User mailing list