[ES] Variant for number 1
Closed this issue · 2 comments
pablodz commented
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.
pablodz commented
Sorry about that, I made a fork because I couldn't find a way to split both cases.