format error in kncounts.gz

ilya oparin ioparin at yahoo.co.uk
Thu Jun 5 05:46:13 PDT 2008


That usually means you're loading something else than a LM in the ARPA format. Have you visually checked your model.kncounts.gz?

best regards,
Ilya


--- On Thu, 5/6/08, Alexy Khrabrov <deliverable at gmail.com> wrote:

> From: Alexy Khrabrov <deliverable at gmail.com>
> Subject: format error in kncounts.gz
> To: "srilm-user" <srilm-user at speech.sri.com>
> Date: Thursday, 5 June, 2008, 12:40 PM
> I've created a KN model with SRILM 1.5.5, and then
> wanted to query it  
> remotely.  Got 1.5.7-beta for it.  When loading into ngram
> -server- 
> port, got this error:
> 
> [alexyk at corptech]/data/press% ngram -lm model.kncounts.gz:
> line  
> 1064849030: reached EOF before \end\ format error
> in lm file
> 
> Do I need any other options for ngram, or it it a
> discrepancy between  
> ngram-count from 1.5.5 and ngram from 1.5.7-beta?
> 
> Cheers,
> Alexy


      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html




More information about the SRILM-User mailing list