chao anh thao

  _____  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Phuong Thao
Sent: 05 February 2008 07:41
To: 'Hieu Hoang'; [email protected]
Subject: Re: [Moses-support] Error in moses config file?



Dear Hieu Hoang,

 

Thanks for your quick reply. 

The error was fixed when I changed the mapping from 0 G 0 to 1 G 0. 

 

I have another question to confirm my understanding.

As I understand, when I set:

 

[mapping]

0 T 0

1 T 1

1 G 0

 

[ttable-file]

0 0 5 ./phrase-table.0-0

1,2 1,2 5 ./phrase-table.1,2-1,2

 

[generation-file]

1,2 0 2 ./generation.1,2-0

 

It means I will have translation from factor 0 to 0; 1,2 to 1,2 and have
generation from factors 1,2 to factor 0 in target side.

Are there two choices: one from 0 T 0 and one from 1 G 0, and they will be
combined with the language model to make decision? 

    0 T 0  - only creates factor 0

 

    1 T 1

    1 G 0

    - creates factor 0, 1, 2

so if you have a language model on factor 1 or 2, this configuration will
blow up

 

And when I set:

[mapping]

0 T 0

0 G 0

 

[ttable-file]

1,2  1,2  5 .../phrase-table.1,2-1,2

 

[generation-file]

1,2  0  2  .../generation.1,2-0

 

In this case, this is only one result returned from generation step 1,2 to
0, and factor 0 don't play any role here, isn't it?

    factor 0 is created - this creates factors 0, 1, and 2. 

Many thanks for your help.

 

Best,

Thao.

 

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

Reply via email to