Replace numerals with numbers
Reason this release was yanked:
Incorrectly works with "hundred", generaly unstable
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.1.tar.gz
(6.6 kB
view hashes)
Built Distribution
Close
Hashes for numberize-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 593719c586637b2e0c44f2d4d96dfb04ed9ba43686246da9205651009a774270 |
|
MD5 | 4c30158d618aecab8c355880c653f7f7 |
|
BLAKE2b-256 | 0e2fa471e200d75bf596e69bcf8fcc6dc12da9474928d20270f6b44a1e1204c6 |