Numbertext / libnumbertext

Number to number name and money text conversion libraries in C++, Java, JavaScript and Python & LibreOffice Calc Extension
BSD 3-Clause "New" or "Revised" License
67 stars 46 forks source link

Add Slovak language #105

Closed filiphanes closed 1 year ago

filiphanes commented 1 year ago

Closes #104

laszlonemeth commented 1 year ago

Dear Filip,

I'm very glad of your patch! I was convinced that the Slovak language had been supported, but hadn't.

I'm going to add Slovak libnumbertext support to LibreOffice 7.5, with the following locale/UI support, too:

https://wiki.documentfoundation.org/ReleaseNotes/7.5#Default_.E2.80.9Cspell_out.E2.80.9D_number_and_currency_formats

Thanks, László

filiphanes commented 1 year ago

how could I test masculine, feminine, neutral patterns?

laszlonemeth commented 1 year ago

In command line:

~/libnumbertext$ src/spellout -p cardinal-feminine -l sk 1-10 jedna dve tri štyri päť šesť sedem osem deväť desať

In IDE (https://numbertext.github.io/Soros.html), write cardinal-feminine in the Prefix: input box

filiphanes commented 1 year ago

now I see there are problems with ordinals