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.2.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for numberize-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b380c987ddfb1c8511871aec95f2f87635197c9f2d2db72fa93a685662f74aaa |
|
MD5 | 3cf010ab4f1261c6f8cad2b08d1d07c1 |
|
BLAKE2b-256 | 2d9ac32d24cce2f8c84ea2c89e33ef7a8d17c7c6efd300a0b3b0461886598c3e |