On 28 October 2010 17:16, Antonio Toral <[email protected]> wrote:
>
>> No, the error is in your dictionary entries. English placenames do not
>> have gender, they only have number. The rules do not, and will not,
>> take it into account. Fix your entries.
>>
>> FWIW, it's generally safe to assume <m><sg> for placenames in Spanish,
>> and <sg> for English.
>
> thanks for your answer Jim! I've modified the entries, so:
Yeah... you're still using your funky homegrown paradigms. Use
'Afganistán__np' for the Spanish side and 'Barcelona__np' on the
English side.
>
> - en.metadix:
> <pardef n="Aachen__np"><e><p><l/><r><s n="np"/><s
> n="sg"/></r></p></e></pardef>
> <e lm="Yekaterinburg"><i>Yekaterinburg</i><par n="Aachen__np"/></e>
>
See, this is np.loc, because it's a place. If you want a generic, 'I
don't know what this is' np, use np.al
> - es.dix:
> <pardef n="Aquisgrán__np"><e><p><l/><r><s n="np"/><s n="m"/><s
> n="sg"/></r></p></e></pardef>
> <e lm="Ekaterimburgo"><i>Ekaterimburgo</i><par n="Aquisgrán__np"/></e>
>
> - en-es.dix:
> <e><p><l>Yekaterinburg<s n="np"/></l><r>Ekaterimburgo<s n="np"/><s
> n="m"></r></p></e>
>
>
> but still no luck with en->es:
>
> echo "Yekaterinburg" | apertium-destxt | lt-proc en-es.automorf.bin |
> apertium-tagger -g en-es.prob | apertium-pretransfer | apertium-transfer
> apertium-en-es.en-es.t1x en-es.t1x.bin en-es.autobil.bin
> ^nom<SN><UNDET><m><sg>{^Ekaterimburgo<3><4>$}$^punt<sent>{^.<sent>$}$[][
> ]
>
> es->en is ok as before:
>
> echo "Ekaterimburgo" | apertium-destxt | lt-proc es-en.automorf.bin |
> apertium-tagger -g es-en.prob | apertium-pretransfer | apetium-transfer
> apertium-en-es.es-en.t1x es-en.t1x.bin es-en.autobil.bin
> ^default<default>{^Yekaterinburg<np><sg>$}$^punt<sent>{^.<sent>$}$[][
> ]
>
> thanks!
> a.
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Apertium-stuff mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/apertium-stuff
>
--
<Leftmost> jimregan, that's because deep inside you, you are evil.
<Leftmost> Also not-so-deep inside you.
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff