Dear James most code of the word alignment symmetrization comes from FBK.
I found an previous email where you asked "giza2bal.pl<http://giza2bal.pl/> -d <path-to-updated-tgt-to-src-ahmm> -i <path-to-updated-src-to-tgt-ahmm> j symal -alignment="grow" -diagonal="yes" -final="yes" -both="yes" > new-alignment-file" However, I can not understand the parameter "path-to-updated-tgt-to-src-ahmm" and "path-to-updated-src-to-tgt-ahmm" means. Could anyone please tell me the files they refer to? Which types files do they match with in my fold? My folder contains the following files, Briefly, you know that the word alignment provided by (any version of) GIZA is a directional map (from src to trg or viceversa) but it is more efficient extracting phrase pairs from a "symmetrized" word alignment, built starting from the two directional alignments. Hence, you know that you have to run GIZA in the two directions. The commands you mentioned makes exactly this. "giza2bal.pl<http://giza2bal.pl/>" takes the files with suffix "A3.final" generated by the src-to-trg alignment (giza-src-trg) and by the inverse trg-to-src alignment (giza-trg-src) and provides an intermediate bi-directional word alignment format "symal" actually computes the symmetrized alignment according to a selected policy specified through its parameters. I hope my explanation is clear, best regards, nicola bertoldi On Aug 29, 2011, at 8:14 AM, 蒋乾 wrote: Hi all, There is a command "za2bal.pl<http://za2bal.pl/> -d <path-to-updated-tgt-to-src-ahmm> -i <path-to-updated-src-to-tgt-ahmm> | symal -alignment="grow" -diagonal="yes" -final="yes" -both="yes" > new-alignment-file" recorded in the Advanced features on the website. Do you know who recorded the content and from whom I would probablly get the answer? Best Regards, James _______________________________________________ Moses-support mailing list [email protected]<mailto:[email protected]> http://mailman.mit.edu/mailman/listinfo/moses-support _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
