Hi,

the recaser currently works with a SRILM, and you are
pointing to their trainer n-gram count. I would suspect
that there is a problem with the relative path in your
specification
  -ngram-count mose/bin/irstlm/bin/i686/ngram-count

Use a full path instead.

-phi

On Mon, Apr 23, 2012 at 3:24 PM, Yared Mekuria <[email protected]> wrote:
>  how to train the recaser
> I use the following commands
>
> mkdir work/recaser
>
> /home/admin1/mose/moses-scripts/scripts-20120409-0748/recaser/train-recaser.perl
> -train-script 
> /home/admin1/mose/moses-scripts/scripts-20120409-0748/training/train-model.perl
> -ngram-count mose/bin/irstlm/bin/i686/ngram-count -corpus
> worked/corpus/news-commentary.tok.en
> -dir /home/admin1/worked/recaser -scripts-root-dir
> /home/admin1/mose/moses-scripts/scripts-20120409-0748
>
> and it results the following error:
> Using SCRIPTS_ROOTDIR: /home/admin1/mose/moses-scripts/scripts-20120409-0748
> Using single-thread GIZA
> ERROR: Language model file not found or empty:
> /home/admin1/worked/recaser/cased.srilm.gz at
> /home/admin1/mose/moses-scripts/scripts-20120409-0748/training/train-model.perl
> line 324.
>
> I see my recaser folder is empty and I am using irstlm LM, and I see
> that cased.srilm.gz is $filename set inside train-model. what is
> cased.srilm.gz?
> any one with suggestion please help.
> _______________________________________________
> 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