akshaynagpal / w2n

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

Number words followed by a period / full stop are ignored #41

Open psychemedia opened 5 years ago

psychemedia commented 5 years ago

Trying:

w2n.word_to_num("Twenty three.")

I get the response: 20

akshaynagpal commented 5 years ago

Thanks for pointing this out. I will look into this ASAP. Meanwhile, you're also welcome to fix the error and submit a Pull Request. If it passes all the tests, it will be merged most probably.