there's currently no wrapper program to convert the stanford output to
moses factored representation.
You should write your own, you can look at similar wrapper scripts in
scripts/training/wrappers
please share your program with us if it works
On 27/04/2015 02:01, Marwa Refaie wrote:
I still stucking here !
I need to use word lemma & pos, here example of stanford output for
lemmtizer & pos
<pos>
<sentence id="0">
<word wid="0" pos="JJ" lemma="artificial">Artificial</word>
<word wid="1" pos="NN" lemma="intelligence">intelligence</word>
</sentence>
<sentence id="1">
<word wid="0" pos="JJ" lemma="artificial">Artificial</word>
<word wid="1" pos="NN" lemma="intelligence">intelligence</word>
<word wid="2" pos="-LRB-" lemma="-lrb-">-LRB-</word>
Any one knows how to convert this to the Moses factored models
Artificial | artificial | NN intelligence |intelligence | NN |
------------------------------------------------------------------------
From: basmal...@hotmail.com
To: moses-support@mit.edu
Date: Sat, 25 Apr 2015 22:45:27 +0000
Subject: [Moses-support] Stanford lemmetizer
Hi all,
I need to use word lemma & pos, here example of stanford output for
lemmtizer & pos
<pos>
<sentence id="0">
<word wid="0" pos="JJ" lemma="artificial">Artificial</word>
<word wid="1" pos="NN" lemma="intelligence">intelligence</word>
</sentence>
<sentence id="1">
<word wid="0" pos="JJ" lemma="artificial">Artificial</word>
<word wid="1" pos="NN" lemma="intelligence">intelligence</word>
<word wid="2" pos="-LRB-" lemma="-lrb-">-LRB-</word>
Any one knows how to convert this to the Moses factored models
Artificial | artificial | NN intelligence |intelligence| NN |
/*Marwa N. Refaie*/
_______________________________________________ Moses-support mailing
list Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
--
Hieu Hoang
Researcher
New York University, Abu Dhabi
http://www.hoang.co.uk/hieu
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support