4 Aug 2012 01:32
Re: Please help me about how to generate word alignment information in Nbest results with moses
i don't think it's available for syntax-model.
in moses-cmd/src/IOWrapper.cpp line 454, there is variable
includeAlignment
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
in moses-cmd/src/IOWrapper.cpp line 454, there is variable
includeAlignment
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
On 03/08/2012 12:17, yang haitong
wrote:
Dear,
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
htyang
_______________________________________________ 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
RSS Feed