I've applied this change.
Now, apertium-eng generates two different generation files: eng.autogen.bin
and eng_US.autogen.bin. The first one generates "British English", while
the second one generates "American English". There is only one analyzer,
that analyzes both variants.
That will allow all language pairs using English to analyze all English
variants at no cost (no need to add more than once the same entry in the
bidix (i.e. colour/color). And it's up to the language developers if they
want to support one or more variants when generating.
Only a few words have been added to the right variant, so there is still
work to do, but the foundation is there.
Regards!
2017-06-26 11:28 GMT+02:00 Xavi Ivars <[email protected]>:
>
>
> 2017-06-26 9:13 GMT+02:00 Francis Tyers <[email protected]>:
>
>> El 2017-06-25 23:22, Xavi Ivars escribió:
>>
>>> Hi!
>>>
>>> I'm working with Marc Riera (GSoC student) on apertium-eng-cat, and
>>> we've found some issues with apertium-eng monodix.
>>>
>>> There are many entries (directly, or via paradigms) that have comments
>>> regarding dialects, like this one used by encyclopaedia
>>>
>>> <pardef n="e_ae">
>>> <e c="en_GB, en_ZA, en_IE, en_CA"><p><l>ae</l><r>ae</r></p></e>
>>> <e c="en_US"><p><l>e</l> <r>ae</r></p></e>
>>> </pardef>
>>>
>>> The problem with these entries is that they get analysed properly, but
>>> they don't get generated.
>>>
>>> In the next few days, we'll change this to follow Apertium standard's
>>> regarding language variants (v attributes), but we where only planning
>>> to add en_US and en_GB.
>>>
>>> Any objection?
>>>
>>
>> Why not do it like in Catalan and make it eng (eng_GB, eng_ZA, eng_CA,
>> eng_IE, eng_MT, eng_*) and eng_US ? :)
>>
>
> Sounds good to me.
> --
> < Xavi Ivars >
> < http://xavi.ivars.me >
>
--
< Xavi Ivars >
< http://xavi.ivars.me >
------------------------------------------------------------------------------
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