Hello all,
I have a problem with mert script
i launch this command to do the tuning :


./mert-moses.pl
/home/paro/MOSES/corpus/Texte.tok.low.fr/home/paro/MOSES/corpus/Texte.tok.low.en
/home/paro/MOSES/moses-smt-mosesdecoder-1cbf457/bin/moses
/home/paro/MOSES/corpus/moses.ini &> /home/paro/Bureau/mert.out &

but it display an error :


Using SCRIPTS_ROOTDIR:
/home/paro/MOSES/moses-smt-mosesdecoder-1cbf457/scripts
Assuming --mertdir=/home/paro/MOSES/moses-smt-mosesdecoder-1cbf457/bin
Assuming the tables are already filtered, reusing filtered/moses.ini
Asking moses for feature names and values from filtered/moses.ini
Executing: /home/paro/MOSES/moses-smt-mosesdecoder-1cbf457/bin/moses
-config filtered/moses.ini  -inputtype 0 -show-weights > ./features.list
Defined parameters (per moses.ini or switch):
    config: filtered/moses.ini
    input-factors: 0
    inputtype: 0
    lmodel-file: 0 0 3 /home/paro/MOSES/corpus/Texte.tok.low.en.lm
    mapping: 0 T 0
    show-weights:
    ttable-file: 1 0 0 3 /home/paro/Bureau/Formattage32/TT1-1
    ttable-limit: 100
*ERROR:Config and parameters specify 1 language model files (lmodel-file),
but 0 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 idea please?
bests

-- 
*Cyrine
Ph.D. Student in Computer Science*
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to