Hi,

running mert-moses.pl I got the following error:
/features.list:21:Bad initial value of score,: file=/home/msepesy/Work/SUMAT/EXP-sent-SR-SL-POS/GT-2decodingPaths/model/generation.1,3-0.gz
./features.list:21:Unknown feature 'score,', please add it to @ABBR_FULL_MAP
./features.list:22:Bad initial value of score,: file=/home/msepesy/Work/SUMAT/EXP-sent-SR-SL-POS/GT-2decodingPaths/model/generation.1,3-0.gz
./features.list:22:Unknown feature 'score,', please add it to @ABBR_FULL_MAP


moses.ini and features.list are in appendix.

I used:
train-model.perl \
--corpus $TRAIN/izhod_el \
--root-dir GT-2decodingPaths \
--f sr --e sl \
--lm 0:3:/home/msepesy/LM/DATA/EXP2/sl.bo.gz:0 \
--lm 1:3:/home/msepesy/LM/DATA/LEMMA/lemma.bo.sl.gz:0 \
--lm 3:7:/home/msepesy/LM/DATA/MSD/msd.bo.sl.gz:0 \
--reordering msd-bidirectional-fe \
--translation-factors 0-0,1,3+1-1+3-3 \
--generation-factors 1,3-0 \
--decoding-steps t0:t1,t2,g0 \

What is wrong?

Mirjam

--
======================================
Mirjam Sepesy Maučec
University of Maribor
Faculty of Electrical Engineering and Computer Science
Smetanova ul. 17
SI-2000 Maribor
Slovenia

phone: +386 2 220 7225
fax:   +386 2 220 7272
email: mirjam.sep...@uni-mb.si
======================================

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

# input factors
[input-factors]
0
1
2
3

# mapping steps
[mapping]
0 T 0
1 T 1
1 T 2
1 G 0

# translation tables: table type (hierarchical(0), textual (0), binary (1)), 
source-factors, target-factors, number of scores, file 
# OLD FORMAT is still handled for back-compatibility
# OLD FORMAT translation tables: source-factors, target-factors, number of 
scores, file 
# OLD FORMAT a binary table type (1) is assumed 
[ttable-file]
0 0 0,1,3 5 
/home/msepesy/Work/SUMAT/EXP-sent-SR-SL-POS/GT-2decodingPaths/model/phrase-table.0-0,1,3.gz
0 1 1 5 
/home/msepesy/Work/SUMAT/EXP-sent-SR-SL-POS/GT-2decodingPaths/model/phrase-table.1-1.gz
0 3 3 5 
/home/msepesy/Work/SUMAT/EXP-sent-SR-SL-POS/GT-2decodingPaths/model/phrase-table.3-3.gz

# generation models: source-factors, target-factors, number-of-weights, filename
[generation-file]
1,3 0 2 
/home/msepesy/Work/SUMAT/EXP-sent-SR-SL-POS/GT-2decodingPaths/model/generation.1,3-0.gz

# language models: type(srilm/irstlm), factors, order, file
[lmodel-file]
0 0 3 /home/msepesy/LM/DATA/EXP2/sl.bo.gz
0 1 3 /home/msepesy/LM/DATA/LEMMA/lemma.bo.sl.gz
0 3 7 /home/msepesy/LM/DATA/MSD/msd.bo.sl.gz


# limit on how many phrase translations e for each phrase f are loaded
# 0 = all elements loaded
[ttable-limit]
20
20
0

# distortion (reordering) files
[distortion-file]

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

# language model weights
[weight-l]
0.1667
0.1667
0.1667


# translation model weights
[weight-t]
0.20
0.20
0.20
0.20
0.20
0.20
0.20
0.20
0.20
0.20
0.20
0.20
0.20
0.20
0.20

# generation model weights
[weight-generation]
0.3
0

# word penalty
[weight-w]
-1

[distortion-limit]
6
Distortion d 0.300000
LM_3gram lm 0.166700
LM_3gram lm 0.166700
LM_7gram lm 0.166700
WordPenalty w -1.000000
PhraseModel tm 0.200000
PhraseModel tm 0.200000
PhraseModel tm 0.200000
PhraseModel tm 0.200000
PhraseModel tm 0.200000
PhraseModel tm 0.200000
PhraseModel tm 0.200000
PhraseModel tm 0.200000
PhraseModel tm 0.200000
PhraseModel tm 0.200000
PhraseModel tm 0.200000
PhraseModel tm 0.200000
PhraseModel tm 0.200000
PhraseModel tm 0.200000
PhraseModel tm 0.200000
Generation score, 
file=/home/msepesy/Work/SUMAT/EXP-sent-SR-SL-POS/GT-2decodingPaths/model/generation.1,3-0.gz
 g 0.300000
Generation score, 
file=/home/msepesy/Work/SUMAT/EXP-sent-SR-SL-POS/GT-2decodingPaths/model/generation.1,3-0.gz
 g 0.000000
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to