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)
Metadata
Release files for numberize 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| numberize-1.1.2.tar.gz | 8.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| numberize-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.0 kB
Release files / numberize-1.1.2.tar.gz
| Download URL | numberize-1.1.2.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
090e45751c5f9fe241b112785330d25ec26808e5ad80d27a338856d1c0623daf
|
|
BLAKE2b-256 checksum How to use checksums |
d5bfcf3adc10155efe2a74982871683d99b72a2643977fb1890665dbd582fa97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|
Release files / numberize-1.1.2-py3-none-any.whl
| Download URL | numberize-1.1.2-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
57c3889761d2f6a88496968454e1ca1a65aab112c845991574b6ad36d5fecd99
|
|
BLAKE2b-256 checksum How to use checksums |
759d40763673dce82f62f77660d6e7a1bde400a0dff981d59e367d46513e8c8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|