Finally got it to work. In order to get the IBM1 alignments from GIZA
in addition to

--giza-option m1=5,m2=0,mh=0,m3=0,m4=0

you have to set the ibm1 dump frequency to at most the number of the
iterations: t1=5. Also the training script sets nodumps=1, which has
to be overriden; so finally the required params are

--giza-option m1=5,m2=0,mh=0,m3=0,m4=0,t1=5,nodumps=0

ibm2 etc alignments can be obtained in the same way.

Also the final file will not be src-tgt.A1.final but src-tgt.A1.5. So
as noted by Qin Gao, you have to modify the training script to expect
that name instead of src-tgt.A3.final. Someone has already done that
for HMM alignments for instance (--hmm-align switch of the training
script).

By the way even with these parameters GIZA still performs a parameter
transfer from ibm2 to ibm3.

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

Reply via email to