Crhistof is right

the LM is used only to create a formally correct configuration file.

You can simply set any NON EMPTY file, to complete the training successfully.

Of course you have to modify the configfile with your good LM before translating

Nicola
________________________________________
From: [email protected] [[email protected]] on behalf 
of Christof Pintaske [[email protected]]
Sent: Friday, May 21, 2010 5:26 AM
To: [email protected]
Subject: Re: [Moses-support] What is the use of the lm parameter in the model 
training stage?

On 5/20/10 8:12 PM, [email protected] wrote:
>
> In "Factored Tutorial", the first example is:
>
> % train-model.perl \
> --corpus factored-corpus/proj-syndicate \
> --root-dir unfactored \
> --f de --e en \
> --lm 0:3:factored-corpus/surface.lm:0
>
> I think the language model is usually used in the decoding stage in
> SMT. What is the use of the lm parameter which lists a language model
> in the model training stage?
>
I'm not sure if it's really required, but it's written to the moses.ini,
which you later need in decoding. Otherwise you'd have to patch the
moses.ini manually.

just my 2 cents of wisdom
Christof


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

Reply via email to