hi fabienne
hmm, strange, it should work. here's my ini file & results with 4 rule
tables.
did you try with 1 rule table + glue, 2 + glue, 3 + glue? there might be
something wrong with your glue rules.
if its still not working, can make a small model that i can download &
see for myself.
Defined parameters (per moses.ini or switch):
config: moses.ini
input-factors: 0
input-file: in.xml
inputtype: 3
mapping: 0 T 0 1 T 1 2 T 2 3 T 3
max-chart-span: 20 20 20 1000
non-terminals: X
pop-limit: 1000
search-algorithm: 3
translation-details: 1
ttable-file: 6 0 0 5 rule-table 6 0 0 5 rule-table 6 0 0 5 rule-table 6
0 0 1 glue
ttable-limit: 20
weight-t: 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5
-0.5
weight-w: 0.0
Loading lexical distortion models...have 0 models
Finished loading LanguageModels : [0.000] seconds
Using uniform ttable-limit of 20 for all translation tables.
Start loading PhraseTable rule-table : [0.000] seconds
filePath: rule-table
Start loading PhraseTable rule-table : [0.000] seconds
filePath: rule-table
Start loading PhraseTable rule-table : [0.000] seconds
filePath: rule-table
Start loading PhraseTable glue : [0.000] seconds
filePath: glue
Finished loading phrase tables : [0.000] seconds
Start loading phrase table from rule-table : [0.000] seconds
Start loading new format pt model : [0.000] seconds
Finished loading phrase tables : [0.000] seconds
Start loading phrase table from rule-table : [0.000] seconds
Start loading new format pt model : [0.000] seconds
Finished loading phrase tables : [0.000] seconds
Start loading phrase table from rule-table : [0.000] seconds
Start loading new format pt model : [0.000] seconds
Finished loading phrase tables : [0.000] seconds
Start loading phrase table from glue : [0.000] seconds
Start loading new format pt model : [0.000] seconds
Finished loading phrase tables : [0.000] seconds
Created input-output object : [0.000] seconds
Translating: <s> overhead oxygen masks in the cabin section had dropped into
place . </s> ||| [0,0]=X (1) [0,1]=X (1) [0,2]=X (1) [0,3]=X (1) [0,4]=X (1)
[0,5]=X (1) [0,6]=X (1) [0,7]=X (1) [0,8]=X (1) [0,9]=X (1) [0,10]=X (1)
[0,11]=X (1) [0,12]=X (1) [0,13]=X (1) [1,1]=OS (1) [1,1]=X (1) [1,2]=X (1)
[1,3]=X (1) [1,4]=X (1) [1,5]=X (1) [1,6]=X (1) [1,7]=X (1) [1,8]=X (1) [1,9]=X
(1) [1,10]=X (1) [1,11]=X (1) [1,12]=TOP (1) [1,12]=X (1) [1,13]=X (1) [2,2]=NS
(1) [2,2]=X (1) [2,3]=X (1) [2,4]=X (1) [2,5]=X (1) [2,6]=X (1) [2,7]=X (1)
[2,8]=X (1) [2,9]=X (1) [2,10]=X (1) [2,11]=X (1) [2,12]=X (1) [2,13]=X (1)
[3,3]=NS (1) [3,3]=X (1) [3,4]=X (1) [3,5]=X (1) [3,6]=X (1) [3,7]=X (1)
[3,8]=X (1) [3,9]=X (1) [3,10]=X (1) [3,11]=X (1) [3,12]=X (1) [3,13]=X (1)
[4,4]=X (1) [4,5]=X (1) [4,6]=X (1) [4,7]=X (1) [4,8]=X (1) [4,9]=X (1)
[4,10]=X (1) [4,11]=X (1) [4,12]=X (1) [4,13]=X (1) [5,5]=X (1) [5,6]=X (1)
[5,7]=X (1) [5,8]=X (1) [5,9]=X (1) [5,10]=X (1) [5,11]=X (1) [5,12]=X (1)
[5,13]=X (1) [6,6]=X (1) [6,7]=NS (1) [6,7]=X (1) [6,8]=X (1) [6,9]=X (1)
[6,10]=X (1) [6,11]=X (1) [6,12]=X (1) [6,13]=X (1) [7,7]=NS (1) [7,7]=X (1)
[7,8]=X (1) [7,9]=X (1) [7,10]=X (1) [7,11]=X (1) [7,12]=X (1) [7,13]=X (1)
[8,8]=X (1) [8,9]=X (1) [8,10]=X (1) [8,11]=X (1) [8,12]=OS (1) [8,12]=X (1)
[8,13]=X (1) [9,9]=X (1) [9,10]=X (1) [9,11]=X (1) [9,12]=X (1) [9,13]=X (1)
[10,10]=X (1) [10,11]=X (1) [10,12]=X (1) [10,13]=X (1) [11,11]=X (1) [11,12]=X
(1) [11,13]=X (1) [12,12]=X (1) [12,13]=X (1) [13,13]=X (1)
Num of hypo = 70 --- cells:
0 1 2 3 4 5 6 7 8 9 10 11 12 13
1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 0 1 0 0 0 1 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0 0 0
1 0 0 1 0 0 0 0 1 0
1 0 1 0 0 0 0 0 0
1 0 0 0 0 0 0 0
2 0 0 0 0 0 0
2 0 0 0 0 0
2 0 0 0 0
2 0 0 0
2 0 0
2 0
1
BEST TRANSLATION: 67 S </s> :0-0 : pC=0.000, c=0.000 [0..13] 63 [total=-9.680]
<<-3.909, 0.000, -5.839, -9.522, 0.000, -6.000, 4.999, 0.000, 0.000, 0.000,
0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 3.000>>
头顶ä¸ç æ°§æ° é¢ç½© è¹è± åº å·²æ»è½ ã
Translation took 0.007 seconds
End. : [0.000] seconds
#########################
### MOSES CONFIG FILE ###
#########################
# input factors
[input-factors]
0
# mapping steps
[mapping]
0 T 0
1 T 1
2 T 2
3 T 3
# translation tables: source-factors, target-factors, number of scores, file
[ttable-file]
6 0 0 5 rule-table
6 0 0 5 rule-table
6 0 0 5 rule-table
6 0 0 1 glue
# no generation models, no generation-file section
# language models: type(srilm/irstlm), factors, order, file
[lmodel-file]
# limit on how many phrase translations e for each phrase f are loaded
# 0 = all elements loaded
[ttable-limit]
20
# language model weights
[weight-l]
# translation model weights
[weight-t]
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
-0.5
# no generation models, no weight-generation section
# word penalty
[weight-w]
0.0
[pop-limit]
1000
[non-terminals]
X
[search-algorithm]
3
[inputtype]
3
[max-chart-span]
20
20
20
1000
[translation-details]
1
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support