Hi Marcin,

Thanks, and many thanks for your fixes, too. (It was interesting to
read, that long Polish number names could be difficult for Polish
people, too.) I have modified the complex groups to portable regular
expressions and added an affix function to compress the program:

1(\d{3}) tysiąc $1
([234]|\d{2}[234])(\d{3}) $1 tysiące $2
(\d{1,3})(\d{3}) $1 tysięcy $2

# affix function
:1,(.+) \1
:(1[1-9]),(.+) $1 \2ów
:([234]|\d[02-9][234]),(.+) $1 \2y
:(\d+),(.+) $1 \2ów

(\d{1,3})(\d{6}) $(:\1,milion) $2
(\d{1,3})(\d{9}) $(:\1,miliard) $2
(\d{1,3})(\d{12}) $(:\1,bilion) $2
(\d{1,3})(\d{15}) $(:\1,biliard) $2
(\d{1,3})(\d{18}) $(:\1,trylion) $2
(\d{1,3})(\d{21}) $(:\1,tryliard) $2
(\d{1,3})(\d{24}) $(:\1,kwadrylion) $2

Regards,
László

2009/8/29 Marcin Miłkowski <milek...@o2.pl>:
> Hi Laci,
>
> this is indeed very nice and quite easy to fix (even for Polish where it's
> quite involved). Here's my bug report:
>
> https://bugs.launchpad.net/numbertext/+bug/421031
>
> Regards
>  Marcin
>
> Németh László pisze:
>>
>> Hi Sophie and Olivier,
>>
>> I have updated the site, also with Olivier's patches for Belgian and
>> Swiss French.
>>
>> Many thanks for your reports.
>>
>> László
>>
>> 2009/8/29 Sophie <sgautier....@free.fr>:
>>>
>>> Hi László,
>>> Németh László wrote:
>>>>
>>>> Hi,
>>>>
>>>> 2009/8/28 F Wolff <frie...@translate.org.za>:
>>>>>
>>>>> Hallo László
>>>>>
>>>>> I quickly reviewed the Afrikaans, and it seems mostly usable. I would
>>>>> have to confirm one small aspect of the spelling rules (there is one
>>>>> class that they don't specify very clearly to me at least), but it
>>>>> seems
>>>>> that the current implementation for Afrikaans could already be correct
>>>>> for integers.
>>>
>>> I also had a very quick review, there is a typo on this numbers :
>>> 1(\d{9}) un milliarde $1
>>> (\d{1,3})(\d{9}) $1| milliardes $2
>>> 1(\d{12}) un billion $1
>>> (\d{1,3})(\d{12}) $1| billions $2
>>> 1(\d{15}) un billiarde $1
>>> (\d{1,3})(\d{15}) $1| billiardes $2
>>> 1(\d{18}) un trillion $1
>>> (\d{1,3})(\d{18}) $1| trillions $2
>>> 1(\d{21}) un trilliarde $1
>>> (\d{1,3})(\d{21}) $1| trilliardes $2
>>>
>>> it's milliards, billiards, trilliards, etc. without the [e].
>>> The specifics rules for 100 and 80 are corrects.
>>> I'll try to have a deeper look during the next week.
>>> Thanks a lot for this work
>>> Kind regards
>>> Sophie
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscr...@lingucomponent.openoffice.org
>>> For additional commands, e-mail: dev-h...@lingucomponent.openoffice.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@lingucomponent.openoffice.org
>> For additional commands, e-mail: dev-h...@lingucomponent.openoffice.org
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> Nie znaleziono wirusa w tej wiadomosci przychodzacej.
>> Sprawdzone przez AVG - www.avg.com Wersja: 8.5.409 / Baza danych wirusów:
>> 270.13.71/2332 - Data wydania: 08/28/09 18:10:00
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@lingucomponent.openoffice.org
> For additional commands, e-mail: dev-h...@lingucomponent.openoffice.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lingucomponent.openoffice.org
For additional commands, e-mail: dev-h...@lingucomponent.openoffice.org

Reply via email to