I usually complete all steps up to 8 without the lm-parameter, and later run step 9 (create moses.ini) with it. I just like the decoupling of translation model training it gives me.
/Markus On Fri, May 21, 2010 at 10:21, Nicola Bertoldi <[email protected]> wrote: > 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 > _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
