Skip to content

0.2

Compare
Choose a tag to compare
@akshaynagpal akshaynagpal released this 07 May 15:33
· 43 commits to master since this release

Errors resolved / handled

  • #1 IndexError when the string provided does not contain number
  • #2 IndexError when the string provided between eleven to nineteen

Update instructions

pip install word2number --upgrade

( If you are installing for the first time, pip install word2number )

About Word to Number

This is a Python module to convert number words (eg. twenty one) to numeric digits (21).
It works for positive numbers upto the range of 999,999,999,999 (i.e. billions)

TODO

  • #3 Index error when string contains digits
  • This module works with only Python 2.x for now. Support for Python 3.x will be added soon.

Contribute

If you find any bugs/errors in the usage of above code, please raise an issue (recommended) or send an email at [email protected].