Try adding this to your ini file [mapping] 0 T 0 1 T 1
Hieu Hoang www.hoang.co.uk/hieu -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Liqi Gao Sent: 12 November 2007 10:03 To: [email protected] Subject: [Moses-support] multiple phrase tables Hi, I am trying to use multiple phrase tables in Moses. I added parameters of the second phrase table in moses.ini according the codes of StaticData::LoadPhraseTable(). ------------------------ [ttable-file] 0 0 5 /users/mt/model1/phrase-table.0-0 0 0 5 /users/mt/model6/wordlist.pt [ttable-limit] 20 20 0 [weight-t] 0.2 0.2 0.2 0.2 0.2 0.3 0.3 0.3 0.3 0.3 ------------------------ However, after moses was successfully restarted, I found the second phrase table didn't work at all. Here is the proof: ------------------------ SCORES (UNWEIGHTED/WEIGHTED): -4.0000 -1.2000 0 distortion score -5.0000 5.0000 1 word penalty 0.0000 0.0000 2 unknown word penalty -2.3154 -0.6946 3 Orientation Lexical Reordering Model -1.6094 -0.4828 4 " " -1.0217 -0.3065 5 " " -1.6094 -0.4828 6 " " -1.6094 -0.4828 7 " " -1.0217 -0.3065 8 " " -42.1396 -21.0698 9 3-gram LM score, factor-type=0, file=/users/mt/model1/IR343.blm.mm -43.9696 -8.7939 10 Translation score, file=/users/mt/model1/phrase-table.0-0 -69.3274 -13.8655 11 " " -12.0997 -2.4199 12 " " -15.0330 -3.0066 13 " " 4.9995 0.9999 14 " " 0.0000 0.0000 15 Translation score, file=/users/mt/model6/kingsoft.pt 0.0000 0.0000 16 " " 0.0000 0.0000 17 " " 0.0000 0.0000 18 " " 0.0000 0.0000 19 " " -------------------------- Can anyone help me with this problem? Any suggestion would be appreciated. Liqi Gao _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
