allo-media/text2num

[ES] Variant for number 1

Closed this issue · 2 comments

Related to #64

https://github.com/allo-media/text2num/blob/master/text_to_num/lang/spanish.py
--> Line 50

Actual code:
--> Unit variants

UNITS["un"] = 1

This should be added:
--> Unit variants

UNITS["uno"] = 1
rtxm commented

There is a regression in the PR. See comment there.

Sorry about that, I made a fork because I couldn't find a way to split both cases.

https://github.com/pablodz/text2num