Dear Moses Support, OSM training script instance like the following:
mosesdecoder/scripts/OSM/OSM-Train.perl --corpus-f SMT_de-en/training/cor pus.1.de --corpus-e SMT_de-en/training/corpus.1.en --alignment SMT_de-en/mod el/aligned.1.grow-diag-final-and --order 4 --out-dir SMT_de-en/model/OSM.1 --moses-src-dir mosesdecoder --input-extension de --output-extension en -lmplz 'mosesdecoder/bin/lmplz -S 40% -T SMT_de-en/model/tmp' Calls lmplz like the following: Executing: mosesdecoder/bin/lmplz -S 40% -T SMT_de-en/model/tmp -T SMT_de-en /model/OSM.1 --order 4 --text SMT_de-en/model/OSM.1//opCorpus --arpa SMT_de-en /model/OSM.1//operationLM --prune 0 0 1 causing the following error: option '--temp_prefix' cannot be specified more than once This works ok: mosesdecoder/scripts/OSM/OSM-Train.perl --corpus-f SMT_de-en/training/cor pus.1.de --corpus-e SMT_de-en/training/corpus.1.en --alignment SMT_de-en/mod el/aligned.1.grow-diag-final-and --order 4 --out-dir SMT_de-en/model/OSM.1 --moses-src-dir mosesdecoder --input-extension de --output-extension en -lmplz 'mosesdecoder/bin/lmplz -S 40% -T SMT_de-en/model/tmp' Regards, Ergun
_______________________________________________ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support