Hello All,

            I am a beginner trying to use moses for our translation engine
and initially build a phrase table for French to English language conversion
in windows machine using cygwin. I could build the decoder exe and phrase
table for some sample corpus, but when I try executing the decoder for a
small French sentence using the generated phrase table, I always get
'ERROR:Size of scoreVector != number (5!=1) of score components on line 1'
which I do not understand. I tried building phrase tables atleast 5 times on
different corpus each time but still I get the same error. Please find the
attached error log and assist me what went wrong and let me know if you need
to know any other details further.

 

Thanks & Regards,

Kranthi.A

 

D:\shared\sample-models\Working\phrase-model>moses-cmd -f moses.ini echo ' haus
' > out
Defined parameters (per moses.ini or switch):
        config: moses.ini echo ' haus '
        input-factors: 0
        lmodel-file: 0 0 3 ../lm/europarl.srilm.gz
        mapping: T 0
        ttable-file: 0 0 1 phrase-table
        ttable-limit: 10
        weight-d: 1
        weight-l: 1
        weight-t: 1
        weight-w: 0
Loading lexical distortion models...
have 0 models
Start loading LanguageModel ../lm/europarl.srilm.gz : [0.000] seconds
Loading Internal LM: ../lm/europarl.srilm.gz
../lm/europarl.srilm.gz
Finished loading LanguageModels : [26.000] seconds
Start loading PhraseTable phrase-table : [26.000] seconds
ERROR:Size of scoreVector != number (5!=1) of score components on line 1

D:\shared\sample-models\Working\phrase-model>moses-cmd -f moses.ini echo ' dice
que ' > out
Defined parameters (per moses.ini or switch):
        config: moses.ini echo ' dice que '
        input-factors: 0
        lmodel-file: 0 0 3 ../lm/europarl.srilm.gz
        mapping: T 0
        ttable-file: 0 0 1 phrase-table
        ttable-limit: 10
        weight-d: 1
        weight-l: 1
        weight-t: 1
        weight-w: 0
Loading lexical distortion models...
have 0 models
Start loading LanguageModel ../lm/europarl.srilm.gz : [0.000] seconds
Loading Internal LM: ../lm/europarl.srilm.gz
../lm/europarl.srilm.gz
Finished loading LanguageModels : [21.000] seconds
Start loading PhraseTable phrase-table : [21.000] seconds
ERROR:Size of scoreVector != number (5!=1) of score components on line 1
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to