I hadn't considered the other uses, but I've come up with a better solution
that takes them into consideration and shouldn't break pairs relying on
apertium-eng.
Basically, the genitive form would be added as generation-only for
paradigms with a regular ('s) genitive. The would allow apertium to detect
the 's as both a genitive and a verb during analysis, and at the same time
provide an easy way to generate the genitive when needed. Example:
<pardef n="house__n">
<e> <p><l></l> <r><s n="n"/><s n="sg"/></r></p></e>
<e r="RL"><p><l>'s</l> <r><s n="n"/><s n="sg"/><s
n="gen"/></r></p></e>
<e> <p><l>s</l> <r><s n="n"/><s n="pl"/></r></p></e>
<e> <p><l>s'</l> <r><s n="n"/><s n="pl"/><s
n="gen"/></r></p></e>
</pardef>
Verb contractions are currently limited to pronoun+verb combinations, so
I'd have to add 's independently as both a form of is and has. Nothing
would be removed, only added, so other pairs should be unaffected.
2017-07-18 17:10 GMT+02:00 Francis Tyers <fty...@prompsit.com>:
> El 2017-07-18 14:44, Marc Riera Irigoyen escribió:
>
>> Hello! I'm working on apertium-eng-cat and I've been having some
>> issues with genitives. Currently, many noun paradigms in apertium-eng
>> (mostly irregular nouns) have a <gen> form with the genitive. Not all
>> nouns have it, so apertium-eng also includes a specific lemma for the
>> regular genitive ('s) to add the <gen> tag in the analysis.
>>
>> However, when using apertium-eng for generation, it is impossible to
>> know in advance whether or not a lemma has the genitive form, so
>> generation for lemmas without the <gen> form is broken.
>>
>> I'm considering adding a <gen> form to all the affected paradigms to
>> fix this issue. Any objections?
>>
>
> Are there other pairs relying on apertium-eng ? Would this break them ?
>
> Otherwise, I don't see a problem, go ahead. Although I'd make it like
>
> house<n><sg>:house
> house<n><pl>:houses
> house<n><sg>+s<gen>:house's
> house<n><pl>+s<gen>:houses'
>
> Instead of:
>
> house<n><sg>:house
> house<n><pl>:houses
> house<n><sg><gen>:house's
> house<n><pl><gen>:houses'
>
> Note that would will also probably need to include the other uses of 's
> too (is / has):
>
> e.g. "The cat's around the corner", "That cat's had his last fish supper".
>
> F.
>
--
*Marc Riera Irigoyen*
Freelance Translator EN/JA>CA/ES
(+34) 652 492 008
------------------------------------------------------------------------------
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