Replace numerals with numbers
Project description
Short Info
Replace numerals with corresponding numbers in the given text. Available on PyPI. Consider checking out Wiki for more info.
Supported languages
- Ukrainian
- Russian
- English
Requirements
- python 3.6+
- NLTK Data
How to install it?
pip install numberize
How to install requirements?
After installing this package
python -m nltk.downloader punkt
How to use it?
import numberize
numberizer = numberize.Numberizer(lang='ru') #or 'uk', 'en'
new_text = numberizer.replace_numerals(old_text)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
numberize-1.0.3.tar.gz
(8.0 kB
view hashes)
Built Distribution
Close
Hashes for numberize-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11967b3e2e36181ed6f23c4af61c381687e28414be62a93674ae33d13d3b63dc |
|
MD5 | 40ab3fe4c556a0f1782e0b62b85927b5 |
|
BLAKE2b-256 | 147df37cbf44d6b291fcee43bc2345e8a1186dead949dd9e8cbe4621b5315be2 |