Hi,

I'm trying to decode with 2 translation models, but got the message "NO
BEST TRANSLATION".

Here is my setting:

==> moses.ini <==
[input-factors]
0

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

[ttable-file]
6 0 0 5 rule-table.1
6 0 0 5 rule-table.2
6 0 0 1 glue-grammar

[lmodel-file]


[ttable-limit]
20

[weight-l]

[weight-t]
0.2
0.2
0.2
0.2
0.2

0.2
0.2
0.2
0.2
0.2

0.2

[weight-w]
-0.2

[cube-pruning-pop-limit]
1000

[non-terminals]
X

[search-algorithm]
3

[inputtype]
3

[max-chart-span]
20
1000


==> rule-table.1 <==
hole [X][X] [X] ||| ANA [X][X] [X] ||| 1.0 1.0 0.5 0.5 2.718 ||| 1-1 ||| 0

==> rule-table.2 <==
support member [X] ||| SAPOUTINGU MENNBA [X] ||| 1.0 1.0 0.5 0.5 2.718
|||  ||| 0

==> glue-grammar <==
<s> [X] ||| <s> [S] ||| 1 ||| ||| 0
[X][S] </s> [X] ||| [X][S] </s> [S] ||| 1 ||| 0-0 ||| 0
[X][S] [X][X] [X] ||| [X][S] [X][X] [S] ||| 2.718 ||| 0-0 1-1 ||| 0

==> data.en <==
said other end part of the plate support member 23 is fitted into the
insertion hole 17 .


Then, when I run it with following command:
* cat data.en | moses_chart -f moses.ini*

The output was:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Defined parameters (per moses.ini or switch):
    config: moses.ini
    cube-pruning-pop-limit: 1000
    input-factors: 0
    inputtype: 3
    mapping: 0 T 0 1 T 1 2 T 2
    max-chart-span: 20 1000
    non-terminals: X
    search-algorithm: 3
    ttable-file: 6 0 0 5 rule-table.1 6 0 0 5 rule-table.2 6 0 0 1
glue-grammar
    ttable-limit: 20
    weight-t: 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2
    weight-w: -0.2
/home/raphael/research/mosesdecoder/bin
line=WordPenalty
FeatureFunction: WordPenalty0 start: 0 end: 1
line=UnknownWordPenalty
FeatureFunction: UnknownWordPenalty0 start: 1 end: 2
line=PhraseDictionaryMemory input-factor=0 output-factor=0
path=rule-table.1 num-features=5 table-limit=20
FeatureFunction: PhraseDictionaryMemory0 start: 2 end: 7
line=PhraseDictionaryMemory input-factor=0 output-factor=0
path=rule-table.2 num-features=5 table-limit=20
FeatureFunction: PhraseDictionaryMemory1 start: 7 end: 12
line=PhraseDictionaryMemory input-factor=0 output-factor=0
path=glue-grammar num-features=1 table-limit=20
FeatureFunction: PhraseDictionaryMemory2 start: 12 end: 13
Start loading text SCFG phrase table. Moses  format : [0.000] seconds
Reading rule-table.1
----5---10---15---20---25---30---35---40---45---50---55---60---65---70---75---80---85---90---95--100
****************************************************************************************************
Start loading text SCFG phrase table. Moses  format : [0.000] seconds
Reading rule-table.2
----5---10---15---20---25---30---35---40---45---50---55---60---65---70---75---80---85---90---95--100
****************************************************************************************************
Start loading text SCFG phrase table. Moses  format : [0.000] seconds
Reading glue-grammar
----5---10---15---20---25---30---35---40---45---50---55---60---65---70---75---80---85---90---95--100
****************************************************************************************************
max-chart-span: 20
max-chart-span: 1000
max-chart-span: 32
IO from STDOUT/STDIN
Created input-output object : [0.000] seconds
Translating: <s> said other end part of the plate support member 23 is
fitted into the insertion hole 17 . </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)
[0,14]=X (1) [0,15]=X (1) [0,16]=X (1) [0,17]=X (1) [0,18]=X (1) [0,19]=X
(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]=X (1)
[1,13]=X (1) [1,14]=X (1) [1,15]=X (1) [1,16]=X (1) [1,17]=X (1) [1,18]=X
(1) [1,19]=X (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) [2,14]=X (1) [2,15]=X (1) [2,16]=X (1) [2,17]=X (1)
[2,18]=X (1) [2,19]=X (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) [3,14]=X (1) [3,15]=X (1) [3,16]=X (1) [3,17]=X (1) [3,18]=X
(1) [3,19]=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)
[4,14]=X (1) [4,15]=X (1) [4,16]=X (1) [4,17]=X (1) [4,18]=X (1) [4,19]=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) [5,14]=X (1) [5,15]=X (1)
[5,16]=X (1) [5,17]=X (1) [5,18]=X (1) [5,19]=X (1) [6,6]=X (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)
[6,14]=X (1) [6,15]=X (1) [6,16]=X (1) [6,17]=X (1) [6,18]=X (1) [6,19]=X
(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) [7,14]=X (1) [7,15]=X (1) [7,16]=X (1) [7,17]=X (1)
[7,18]=X (1) [7,19]=X (1) [8,8]=X (1) [8,9]=X (1) [8,10]=X (1) [8,11]=X (1)
[8,12]=X (1) [8,13]=X (1) [8,14]=X (1) [8,15]=X (1) [8,16]=X (1) [8,17]=X
(1) [8,18]=X (1) [8,19]=X (1) [9,9]=X (1) [9,10]=X (1) [9,11]=X (1)
[9,12]=X (1) [9,13]=X (1) [9,14]=X (1) [9,15]=X (1) [9,16]=X (1) [9,17]=X
(1) [9,18]=X (1) [9,19]=X (1) [10,10]=X (1) [10,11]=X (1) [10,12]=X (1)
[10,13]=X (1) [10,14]=X (1) [10,15]=X (1) [10,16]=X (1) [10,17]=X (1)
[10,18]=X (1) [10,19]=X (1) [11,11]=X (1) [11,12]=X (1) [11,13]=X (1)
[11,14]=X (1) [11,15]=X (1) [11,16]=X (1) [11,17]=X (1) [11,18]=X (1)
[11,19]=X (1) [12,12]=X (1) [12,13]=X (1) [12,14]=X (1) [12,15]=X (1)
[12,16]=X (1) [12,17]=X (1) [12,18]=X (1) [12,19]=X (1) [13,13]=X (1)
[13,14]=X (1) [13,15]=X (1) [13,16]=X (1) [13,17]=X (1) [13,18]=X (1)
[13,19]=X (1) [14,14]=X (1) [14,15]=X (1) [14,16]=X (1) [14,17]=X (1)
[14,18]=X (1) [14,19]=X (1) [15,15]=X (1) [15,16]=X (1) [15,17]=X (1)
[15,18]=X (1) [15,19]=X (1) [16,16]=X (1) [16,17]=X (1) [16,18]=X (1)
[16,19]=X (1) [17,17]=X (1) [17,18]=X (1) [17,19]=X (1) [18,18]=X (1)
[18,19]=X (1) [19,19]=X (1)

  0   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15  16  17
18  19
  1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1
1   0
    1   0   0   0   0   0   0   0   1   0   0   0   0   0   0   0   1   0
0
      1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
        1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
          1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
            1   0   0   0   0   0   0   0   0   0   0   0   0   0   0
              1   0   0   0   0   0   0   0   0   0   0   0   0   0
                1   0   0   0   0   0   0   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
                      0   0   0   0   0   0   0   0   0   0
                        0   0   0   0   0   0   0   0   0
                          0   0   0   0   0   0   0   0
                            0   0   0   0   0   0   0
                              0   0   0   0   0   0
                                0   0   0   0   0
                                  0   0   0   0
                                    0   0   0
                                      0   0
                                        0
NO BEST TRANSLATION

Translation took 0.000 seconds
End. : [0.000] seconds
Name:moses_chart    VmPeak:162100 kB    VmRSS:2980 kB    RSSMax:0 kB
user:0.000    sys:0.000    CPU:0.000    real:0.000
---------------------------------------------------------------------------------------------------

Does anyone knows what wrong with my settings?

Thanks a million!

-- 
 *Raphael Shu ,*
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to