Hi,

        Which ASCII character sequence represents newline in your file?  Try
converting to UNIX newlines.  Also can you send me the output of

zcat /home/moses/languagemodels/model.es.lm.gz |head -n 10 |gzip >send.gz

(I'm asking you to rezip so that your mail client doesn't convert the
enter characters for me.)

Kenneth

On 07/27/11 09:27, Lee Ball (Applied Language) wrote:
> Hi guys,
> 
> I just tried using KenLM out of interest for the first time with an old
> set of models that were using IRSTLM.
> 
> Based on this: http://kheafield.com/code/kenlm/moses/ I changed the
> settings from:
> 
> [lmodel-file]
> 1 0 5 /home/moses/languagemodels/model.es.lm.gz
> 
> to
> 
> [lmodel-file]
> 8 0 5 /home/moses/languagemodels/model.es.lm.gz
> 
> I also tried
> 
> [lmodel-file]
> 9 0 5 /home/moses/languagemodels/model.es.lm.gz
> 
> I then ran mosesserver with this new moses.ini file and it appeared to
> output the contents of model.lm.gz and then it stopped with this output:
> 
>     \end\
>     " not blank File: /home/moses/languagemodels/model.es.lm.gz
>     Aborted
> 
> 
> 
> IRSTLM was used to create this language model initially. Although the
> moses.ini was from a slightly older build which doesn't mention KenLM as
> an option in the language model comments, I assumed it would still work?
> 
> The output error is the same for both 9 and 8 settings. It works fine
> with using IRSTLM.
> 
> Kind regards,
> 
> Lee Ball
> Infrastructure Manager
> [email protected] <mailto:[email protected]>
> Skype ID: lee.ball_appliedlanguage
> 
> Applied Language Solutions
> High quality language solutions delivered on time...with a smile!
> 
> www.appliedlanguage.com <http://www.appliedlanguage.com/>
> Tel (UK): +44 (0)845 367 7000
> Tel (US): +1 (800) 579-5010
> 
> Riverside Court, Huddersfield Road, Delph, Oldham, OL3 5FZ. UK
> Registered in the UK 5122429
> 
> Pride in everything we do | Respect everyone like a friend
> An Environmentally Friendly CompanyThink of the environment; please
> don't print this e-mail unless you really need to.
> 
> Fast Track 100 2009Queens Award for
> Business <http://twitter.com/appliedlanguage>
> 
> 
> 
> 
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to