> Date: Tue, 28 Feb 2017 17:53:57 +0100
> From: Tommi A Pirinen <[email protected]>
> To: [email protected]
> Reply-To: [email protected]
> Subject: Re: [Apertium-stuff] avoiding forced-uppercase generation when
>  identical dictionary-uppercase exists
> Pièce(s) jointes(s) probable(s)>
> Am Tue, 28 Feb 2017 10:33:25 +0100
> schrieb Kevin Brubeck Unhammer <[email protected]>:
>
> > If I have this in foo.dix:
> > 
> > <e><p><l>PC-ane</l><r>PC<s n="n"/><s n="m"/><s n="pl"/><s
> > n="def"/></r></p></e>
> > 
> > then I get
> > 
> > $ echo '^PC<n><m><pl><def>$' | lt-proc -d foo.autogen.bin
> > PC-ane
> > 
> > which is what I want. However, sometimes people write compounds in
> > lowercase, so I try including both upper and lower-case lemmas (I only
> > care about generation now):
> > 
> > <e><p><l>pc-ane</l><r>pc<s n="n"/><s n="m"/><s n="pl"/><s
> > n="def"/></r></p></e> <e><p><l>PC-ane</l><r>PC<s n="n"/><s n="m"/><s
> > n="pl"/><s n="def"/></r></p></e>
> > 
> > but that gives
> > 
> > $ echo '^PC<n><m><pl><def>$' | lt-proc -d foo.autogen.bin
> > PC-ane/PC-ANE
> > 
> > Would it make sense for lt-proc to not output forced-uppercase
> > analyses if there's an otherwise identical dictionary-uppercase
> > analysis? (Would it be easily implementable?)
>
> I have no idea of the implementability of this, but it affects most
> fin- pairs, so if there's anything remotely reasonable I can also help
> as much as I can.
>
>

Why not putting a LR restriction on the unwanted surface form ?


--------------------------------
Bernard Chardonneau (France)
Phone : [33] 9 72 36 32 90
GSM phone : [33] 7 69 46 16 31

Multilingual websites for my free softwares :
http://libremail.free.fr and http://libremail.tuxfamily.org
http://cyloop.tuxfamily.org (mainly translated with Apertium)

My general website (in french only)
http://bech.free.fr

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to