scrapinghub / number-parser

Parse numbers written in natural language
BSD 3-Clause "New" or "Revised" License
104 stars 23 forks source link

Doesn't recognize a million in Ukrainian #78

Closed serhii73 closed 1 year ago

serhii73 commented 2 years ago
In [11]: parse_number("мільйон") is None
Out[11]: True

In [12]: parse_number("міліон") is None
Out[12]: True

http://sum.in.ua/s/miljjon

These are two versions of the writing of the word million in the Ukrainian language.

Is it a problem that Ukrainian is not in supported languages? https://github.com/scrapinghub/number-parser/blob/master/number_parser/parser.py#L5 But I see Ukrainian here https://github.com/scrapinghub/number-parser/blob/master/number_parser/data/uk.py#L53

Thank you.