The reordering model is learned on training step 7. 

The training script needs you to specify which reordering will you use during 
decoding because it has to generate a specific file for it. It is called 
something like extract.o in your model directory, and finally reordering-table. 

Otherwise the reordering-table file will not be correct. If you train it to use 
only the distortion model (one weight) you will not be able to change to any 
lexicalized model because you'd need an additional table.

So, train again from step 7 (--first-step 7) with the new reordering 
(--reordering msd-bidirectional-e) and check that extract.o and 
reordering-table are generated accordingly.

I hope it helps. 

Bye.  
 --
Carlos A. HenrĂ­quez Q.
[email protected]




________________________________
De: maria sol ferrer <[email protected]>
Para: [email protected]; moses-support <[email protected]>
Enviado: vie,19 marzo, 2010 13:57
Asunto: [Moses-support] Can't change reordering model

Hey, thanks for your help. 

Does anyone else know what might be wrong with changing the reordering model? 
has anyone done it successfully? I really cant get it working and there's no 
help on the web.

Thanks a lot.


2010/3/19 Hieu Hoang <[email protected]>

>i can't see any obvious problems.
>
>i don't know much about the lexicalized reordering. It seems like the number 
>of scores is not what is expected by the decoder for the particular setting 
>specified in the ini file. I think in training, you have to specify what type 
>of reordering model you want, and specify the SAME type when decoding. 
>
>sorry i can't be of more help
>
>
>
>On 17 March 2010 21:35, maria sol ferrer <[email protected]> wrote:
>
>Hey, thanks for your answer, here is the ini file and the output from when i 
>try to translate...
>>
>>
>>2010/3/18 Hieu Hoang <[email protected]>
>>
>>
>>>>>
>>>  
>>>
>>>
>>>>>>can you send me the ini file, i'll try & see if there's anything
>>>obviously wrong
>>>
>>>
>>>>>>On 17/03/2010 05:09, maria sol ferrer wrote:
>>>
>>>Hi, I was running some tests on different reordering types
>>>>and when I tried with 
>>>>
>>>>>>>>msd-bidirectional-e, msd-unidirectional-fe and
>>>>monotonicity-bidirectional-fe
>>>>
>>>>>>>>the first 2 gave the error that reordering doesnt exist during
>>>>training, the third trained fine but when trying to translate, it
>>>>didnt, the only message there was was: Reordering types NOT individualy
>>>>weighted! (By the way, the default reordering works fine)
>>>>
>>>>>>>>I searched the web and all I found was another question on the mailing
>>>>list like this, about the monotonicity reordering (all of them) not
>>>>working, but it was never answered.
>>>>
>>>>>>>>I'm running an english-spanish decoder and the reordering is not so
>>>>good, it just pretty much translates in the english order, which is not
>>>>always correct in spanish.
>>>>
>>>>>>>>I'd apreciate your help, thanks.
>>>>
>>>>
>>>>
>>>>_______________________________________________
>>>>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

Reply via email to