Hi Sanjanasri,

you can edit the resulting moses.ini file manually to add your models, or if you want to do it via command line argument, use the following options of train-model.perl: '-config-add-feature-lines' and '-config-add-weight-lines'. Unlike the '-lm' option, you have to provide a string as it should appear in the moses.ini. The appropriate feature line for NPLM is documented here: http://www.statmt.org/moses/?n=FactoredTraining.BuildingLanguageModel#ntoc31

NeuralLM factor=<factor> order=<order> path=filename

best wishes,
Rico


On 02.10.2015 06:49, Sanjanashree Palanivel wrote:
Dear all,

How to train the baseline system with multiple language model. For instance, -lm 0:5:/path/to/LM/mono1binary:8 I know that 8 stands for KENLM, But how to do for nplm. Any help would be appreciated.

--
Thanks and regards,

Sanjanasri J.P


_______________________________________________
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