allo-media / text2num

Parse and convert numbers written in French, English, Spanish, Portuguese, German and Catalan into their digit representation.
https://text2num.readthedocs.io
MIT License
102 stars 47 forks source link

Added Catalan: cardinals, ordinals, README examples, test_text_to_num_ca.py . mypy OK. All tests OK. #62

Closed gonsalet closed 3 years ago

gonsalet commented 3 years ago

Added Catalan: cardinals, ordinals, README examples, test_text_to_num_ca.py . mypy OK. All tests OK.

Covers dialectal variants (central Catalan, Valencian, Balearic...).

I've tried to follow all the instructions in https://text2num.readthedocs.io/en/stable/contribute.html

PR made from dedicated branch "Catalan" in my fork.

Please let me know should anything else be necessary.

rtxm commented 3 years ago

Thank you very much for your contribution! Your PR looks good to me. Would you mind fixing the flake8 errors before I merge?

gonsalet commented 3 years ago

Fait! :)