akshaynagpal / w2n

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

AttributeError, can't use any of the functions #64

Closed diniamo closed 3 years ago

diniamo commented 3 years ago

Hello, I'm having a weird issue where I cannot access any functions defined in this module. I installed it with pip. Code + Error:

>>> w2n.word_to_num('one')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'word2number' has no attribute 'word_to_num'

I don't know what other info to give.