akshaynagpal / w2n

Convert number words (eg. twenty one) to numeric digits (21)
http://w2n.readthedocs.io
MIT License
169 stars 78 forks source link

Adding support for two-digit numbers separated by dash (like "thirty-five") #5

Closed ledovsky closed 7 years ago

ledovsky commented 8 years ago

Hi! Thank you for the lib.

I have problem that texts that I analyse contain numbers separated with the dash (like "thirty-five"). I've made a fix for it.

akshaynagpal commented 8 years ago

Hi @ledovsky . I am glad you contributed. Right now I am busy with some other stuff. I will look at it for last checks and will run it for some more test cases, and then will merge it ASAP.