You are correct that train-model.perl script does not use the -lm parameter through any of the word alignment or phrase scoring steps. The script's step 9 builds a template moses.ini configuration file and includes the values from the -lm parameter. At the beginning, the script checks that the -lm value points to a non-zero length file. If the file is missing or is zero length, the script halts.
On 11/03/2013 06:03 PM, Read, James C wrote: > Hi, > > does anybody know what the effect of the -lm training parameter in the > training script is? Surely the LM used has no effect on typical training > tasks like word alignment and phrase scoring? > > thanks, > James > > _______________________________________________ > 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
