hi all,

Thanks for your generous help.
I set parameters to --giza-option m1=5,m2=0,mh=0,m3=0,m4=0
and there was some problem.
When running on small corpora, it seems OK.
I got the phrase table and reordering table.
But it stopped on large corpora.

If I adopt  --giza-option m1=5, m2=0, mh=0, m3=0, m4=0 , 
no "model" folder was generated.

If I adopt --giza-option m1=5, m2=0, mh=3, m3=3, m4=0 ,
I got in "model":
phrase-table.0-0.half.f2n.part0000 
phrase-table.0-0.half.f2n.part0001 
but no phrase table or reordering table.

I'll try to set parameters to 
--giza-option m1=5,m2=0,mh=0,m3=0,m4=0,t1=5,nodumps=0
and do what you advise me to do.
I hope it works.

It must be necessary for me to view the codes of GIZA++, to know how it 
actually works.

Again, thanks for your generous help, all of you ;)


2009-12-11 



Best regards,

Lee Xianhua




发件人: Mark Fishel 
发送时间: 2009-12-11  20:25:15 
收件人: moses-support 
抄送: 08lixianhua 
主题: Re: [Moses-support] About giza++ options when running moses 
 
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