https://github.com/revdotcom/words2num
Convert words to numbers
https://github.com/revdotcom/words2num
inverse-text-normalization nlp
Last synced: 12 months ago
JSON representation
Convert words to numbers
- Host: GitHub
- URL: https://github.com/revdotcom/words2num
- Owner: revdotcom
- License: mit
- Created: 2017-04-24T18:56:19.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-04-13T20:39:08.000Z (about 4 years ago)
- Last Synced: 2025-04-04T18:04:29.207Z (about 1 year ago)
- Topics: inverse-text-normalization, nlp
- Language: Python
- Size: 40 KB
- Stars: 20
- Watchers: 33
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# words2num
Inverse text normalization for numbers. Currently only supports en-US locale.
## Usage
Example: `w2n("forty-two hundred and forty-two")`
## Installation
`pip install words2num`