This question is about CG, but since it seems this is quite related to the
"bridge" between Apertium and CG I put it here.
I've never understood well how to select in CG enclitic pronouns. I have a
specific question about Catalan.
We have this:
echo "donant-los" | apertium -d . cat-disam
"<donant-los>"
"donar" vblex ger
"el" prn enc p3 m pl
"donar" vblex ger
"li" prn enc p3 mf pl
"<.>"
"." sent
I want to write a few rules for disambiguating "los", specifically choosing
"li" ("el" seems to be the choice always or most of the time).
So I've defined a very simple rule (which is wrong, but it's just a
beginning):
SET VCD_CI = ("donar") OR ("dar") ; # this is a list of verbs
LIST Li = "li" ;
SELECT Li IF (0/* VCD_CI) ;
But this rule does not match. I still receive:
echo "donant-los" | apertium -d . cat-disam
"<donant-los>"
"donar" vblex ger
"el" prn enc p3 m pl
"donar" vblex ger
"li" prn enc p3 mf pl
"<.>"
"." sent
What is wrong?
(In fact "li" should be in both sides of the rule, but I don't know how to
put it in the right side. For now it doesn't work even in the left side)
Thanks in advance.
Hèctor
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Apertium-stuff mailing list
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff