Re: Please help me about how to generate word alignment information in Nbest results with moses
2012-08-03 23:32:52 GMT
in moses-cmd/src/IOWrapper.cpp line 454, there is variable
however, in moses-chart-cmd/src/IOWrapper.cpp, this is commented out.
you're welcome to change the code to enable it. Email me if you have any problems
I am a student researching on SMT. Moses is an open powerful tool. Recently I want to generate word alignment in N-best output with Moses.
For example, the below sentence is outputted by moses and it has word alignment information such as "0=0".
A sentence generated by moses : however , because the two sides still exist . ||| 0=0 1=1 5=2 4=3 2=4 3=5 6=6 7=7 8=8
The result above is produced by Phrased-based model in Moses. And I tried on Syntax-based model in Moses but I failed.
Can Moses generate word alignment information with Syntax-based model ? And how to do it ?
Thank you in advance
_______________________________________________ Moses-support mailing list Moses-support-3s7WtUTddSA@public.gmane.org http://mailman.mit.edu/mailman/listinfo/moses-support
_______________________________________________ Moses-support mailing list Moses-support@... http://mailman.mit.edu/mailman/listinfo/moses-support