Dear experts: I have been trying to specify the lmodel-file via command line, but have failed.
I have tried several possibilities, playing with the " around the file name, but none worked. Here is what I am doing (as specified in the Moses tutorial): $ moses -f moses.ini -lmodel-file "0 0 5 1.en.lm" < 1.de In the moses.ini there is a lmodel specified as well, but not the one I need to use. Since I plan to run this process in "batch" mode, changing the moses.ini (or creating a new moses.ini) each time is a bad solution. Here an exerpt of the moses.ini: [lmodel-file] 0 0 5 <path1-to-lm>/en.lm.gz [weight-l] 0.092418 I think that the rest should be of no effect. I am getting the error: ERROR:Config and parameters specify 4 language model files (lmodel-file), but 1 weights (weight-l) You might be giving '-lmodel-file TYPE FACTOR ORDER FILENAME' but you should be giving these four as a single argument, i.e. '-lmodel-file "TYPE FACTOR ORDER FILENAME"' Any hint on what I might be doing wrong? Thank you very much in advance, regards, Germán Sanchis ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
