Metadata-Version: 2.1
Name: text2digits-careless25
Version: 0.0.2
Summary: A small library to convert text numbers to digits in a string
Home-page: https://github.com/careless25/text2digits
Author: Shail Choksi
Author-email: choksishail@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown

## Usage
Python 3 only!
```
from t2d import Text2Digits
Text2Digits().convert("I was born in nineteen ninety two and am twenty six years old!")
```

Output:
```
"i was born in 1992 and am 26 years old!"
```

I find this useful if using Alexa/Lex to convert audio to text and have to convert the text to digits.

## Improvements/Issues
- Still need to add support for decimal numbers
- Need to add support for negative numbers

## Acknowledgements
I have heavily used code from the SO answers from here: https://stackoverflow.com/questions/493174/is-there-a-way-to-convert-number-words-to-integers
and improved upon them

