Hi,

the training script now expects you to specify where the language model
is, so it can build a proper configuration file. Language model training
is independent from translation model training and it is typically done
with tools like SRILM or IRSTLM.

For instance, when you train a 5-gram language model with SRILM
you will end up with some file, and this file needs to specified with
the switch
   --lm factor:order:filename

Factor is usually 0 (unless you do something with factored translation
models),
Order is 5 in this case (a 5-gram model) and filename should include the
full path to the language model.

Using --last-step 8 is not the best solution, since now the script will not
build
a configuration file.

-phi

On Fri, Mar 30, 2012 at 12:45 PM, Taylor Rose <
[email protected]> wrote:

> hmm well I just added "--last-step 8" and now it seems to be running
> alright. I'd still love an answer to b :)
> --
> Taylor Rose
> Machine Translation Intern
> Language Intelligence
> IRC: Handle: trose
>     Server: freenode
>
>
> On Fri, 2012-03-30 at 15:28 -0400, Taylor Rose wrote:
> > Hi,
> >
> > I'm attempting to run train-model.perl following the instructions here:
> > http://www.statmt.org/moses/?n=FactoredTraining.TrainingParameters
> >
> > The instructions state that a basic training run can be accomplished
> > with the command "train-model.perl --root-dir . --f de --e en --corpus
> > corpus/euro >& LOG" however I am getting this error when I run that
> > command:
> > ERROR: use --lm factor:order:filename to specify at least one language
> > model at
> > /usr/local/bin/train-model.perl line 308.
> >
> > I have been unable to find any documentation that states how this option
> > flag should be used. I am a novice to SMT so I'm not sure what "factor"
> > and "order" mean in this case.
> >
> > Could anyone:
> > a) tell me how to solve this error
> >  or
> > b) point me to comprehensive documentation about train-model.perl
> > (bonus points if it outlines specifically how to do a very basic
> > training run)
> >
> > Thanks,
>
> _______________________________________________
> 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