the 5 weights for the phrase table should be specified in it own section
  [weight-t]
you can look at this ini file as an example
https://github.com/hieuhoang/moses-regression-tests/blob/master/tests/phrase.basic-surface-binptable.oldformat/moses.ini

On 22/07/2013 15:58, Cyrine NASRI wrote:
Here my config file:

#########################
### MOSES CONFIG FILE ###
#########################

# input factors
[input-factors]
0

# mapping steps, either (T) translation or (G) generation
[mapping]
T 0

# translation tables: source-factors, target-factors, number of scores, file
[ttable-file]
0 0 0 5 /home/cyrine/Documents/Avira_MT/Moses-source/mosesdecoder/scripts/training/model/phrase-table

# language models: type(srilm/irstlm/kenlm), factors, order, file
[lmodel-file]
8 0 3 /home/cyrine/Bureau/corpus/LM/en.lm

# limit on how many phrase translations e for each phrase f are loaded
[ttable-limit]
10

# distortion (reordering) weight
[weight-d]
1

# language model weights
[weight-l]
1

# translation model weights
[weight-t]
1

# word penalty
[weight-w]
0

[n-best-list]
nbest.txt
100




2013/7/22 Cyrine NASRI <[email protected] <mailto:[email protected]>>

    Hello,

    I have a problem when i want to launch MERT script,

    this is my command :

    mert-moses.pl <http://mert-moses.pl>
    /home/cyrine/Téléchargements/ExtractedTMX/corpus.tok.low.de
    <http://corpus.tok.low.de>
    /home/cyrine/Téléchargements/ExtractedTMX/corpus.tok.low.en
    /home/cyrine/Documents/MT/Moses-source/mosesdecoder/bin/moses
    
/home/cyrine/Documents/MT/Moses-source/mosesdecoder/scripts/training/model/moses.ini
    --mertdir /home/cyrine/Documents/MT/Moses-source/mosesdecoder/bin

    i got this message :

    /Check currOldInd < oldWeights.size() failed in
    moses/Parameter.cpp:512
    Aborted (core dumped)
    Exit code: 134
    Failed to run moses with the config filtered/moses.ini at
    ./mert-moses.pl <http://mert-moses.pl> line 1271./



    Any idea please?

    Thank You

-- /Cyrine NASRI
    Ph.D. Student in Computer Science/




--
/Cyrine NASRI
Ph.D. Student in Computer Science/


_______________________________________________
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