hi Thu

i ran the system with your ini file and the part of the phrase tables you gave me. It looks ok so i can't think what's wrong with your setup. i've attached the ini file, phrase table files, the input file and the output.

The source code has been merged into the trunk so I used that. However, that shouldn't be the cause of the problem.

You should check that all the paths in specified in your ini files are correct. If you still have problem, maybe compile and use the trunk version of the decoder.

Hieu
! " , [X] ||| ! " [X] |||  ||| 0.0289855 0.0363779 1 0.80712 2.718 ||| 34.5 1
! " , [X][X] , [X] ||| ! " [X][X] , [X] ||| 3-2 ||| 0.5 0.0292336 0.5 0.698392 
2.718 ||| 0.1 0.1
! " , [X][X] , [X] ||| ! " [X][X] that , [X] ||| 3-2 ||| 0.5 0.0292336 0.5 
0.0092224 2.718 ||| 0.1 0.1
! " , [X][X] . [X] ||| ! " [X][X] . [X] ||| 3-2 ||| 0.281171 0.0325239 1 
0.799249 2.718 ||| 0.222285 0.0625
! " , [X][X] [X] ||| ! " [X][X] [X] ||| 3-2 ||| 0.197964 0.0363779 0.881617 
0.80712 2.718 ||| 3.13491 0.703931
! " , [X][X] [X] ||| ! " [X][X] that [X] ||| 3-2 ||| 0.5 0.0363779 0.118383 
0.0106582 2.718 ||| 0.166667 0.703931
! " , [X][X] anh [X] ||| ! " [X][X] he [X] ||| 3-2 ||| 0.5 0.00231865 1 
0.0862683 2.718 ||| 0.0588236 0.0294118
! " , [X][X] cùng [X] ||| ! " [X][X] and [X] ||| 3-2 ||| 0.285714 4.182e-05 1 
0.0218595 2.718 ||| 0.0729166 0.0208333
! " , [X][X] gia_đình [X] ||| ! " [X][X] his family [X] ||| 3-2 ||| 0.5 
0.0145356 1 0.0114879 2.718 ||| 0.032258 0.016129
! " , [X][X] gặng_hỏi [X] ||| ! " [X][X] demanded [X] ||| 3-2 ||| 0.5 
0.00363779 1 0.161424 2.718 ||| 0.181818 0.0909091
Defined parameters (per moses.ini or switch):
        config: moses.ini 
        cube-pruning-pop-limit: 1000 
        glue-rule-type: 0 
        input-factors: 0 
        input-file: in 
        inputtype: 3 
        mapping: 0 T 0 1 T 1 
        max-chart-span: 20 1000 
        non-terminals: X 
        search-algorithm: 3 
        ttable-file: 6 0 0 5 /Users/hieu/Desktop/temp/rule-table 6 0 0 1 
/Users/hieu/Desktop/temp/glue-grammar 
        ttable-limit: 20 
        weight-t: 0.2 0.2 0.2 0.2 0.2 1.0 
        weight-w: -1 
Loading lexical distortion models...have 0 models
Finished loading LanguageModels : [0.000] seconds
Start loading PhraseTable /Users/hieu/Desktop/temp/rule-table : [0.000] seconds
filePath: /Users/hieu/Desktop/temp/rule-table
Start loading new format pt model : [0.000] seconds
Start loading PhraseTable /Users/hieu/Desktop/temp/glue-grammar : [0.000] 
seconds
filePath: /Users/hieu/Desktop/temp/glue-grammar
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> ! " , Hieu gia_đình </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) [1,1]=X (1) [1,2]=X 
(1) [1,3]=X (1) [1,4]=X (1) [1,5]=X (1) [1,6]=X (1) [2,2]=X (1) [2,3]=X (1) 
[2,4]=X (1) [2,5]=X (1) [2,6]=X (1) [3,3]=X (1) [3,4]=X (1) [3,5]=X (1) [3,6]=X 
(1) [4,4]=X (1) [4,5]=X (1) [4,6]=X (1) [5,5]=X (1) [5,6]=X (1) [6,6]=X (1) 

 [0..0]=1 [1..1]=1 [2..2]=1 [3..3]=1 [4..4]=1 [5..5]=1 [6..6]=1 [0..1]=1 
[1..2]=0 [2..3]=0 [3..4]=0 [4..5]=0 [5..6]=0 [0..2]=1 [1..3]=1 [2..4]=0 
[3..5]=0 [4..6]=0 [0..3]=1 [1..4]=2 [2..5]=0 [3..6]=0 [0..4]=2 [1..5]=1 
[2..6]=0 [0..5]=1 [1..6]=0 [0..6]=1Num of hypo = 27 --- cells:
  0   1   2   3   4   5   6 
  1   1   1   1   1   1   1 
    1   0   0   0   0   0 
      1   1   0   0   0 
        1   2   0   0 
          2   1   0 
            1   0 
              1 
! " Hieu his family 
End. : [0.000] seconds
#########################
### MOSES CONFIG FILE ###
#########################

# input factors
[input-factors]
0

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

# translation tables: source-factors, target-factors, number of scores, file 
[ttable-file]
6 0 0 5 /Users/hieu/Desktop/temp/rule-table
6 0 0 1 /Users/hieu/Desktop/temp/glue-grammar

# no generation models, no generation-file section

# language models: type(srilm/irstlm), factors, order, file
#[lmodel-file]
#0 0 5 /common_dir/thuvh/50001/lm/file_train.lm


# 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]
#0.5000


# translation model weights
[weight-t]
0.2
0.2
0.2
0.2
0.2
1.0

# no generation models, no weight-generation section

# word penalty
[weight-w]
-1

[cube-pruning-pop-limit]
1000

[glue-rule-type]
0

[non-terminals]
X

[search-algorithm]
3

[inputtype]
3

[max-chart-span]
20
1000
! " , Hieu gia_đình
<s> [X] ||| <s> [S] |||  ||| 1
[X][S] </s> [X] ||| [X][S] </s> [S] ||| 0-0 ||| 1
[X][S] [X][X] [X] ||| [X][S] [X][X] [S] ||| 0-0 1-1 ||| 2.718
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to