Skip to main content

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


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.1.2.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

numberize-1.1.2-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file numberize-1.1.2.tar.gz.

File metadata

  • Download URL: numberize-1.1.2.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for numberize-1.1.2.tar.gz
Algorithm Hash digest
SHA256 090e45751c5f9fe241b112785330d25ec26808e5ad80d27a338856d1c0623daf
MD5 38e7d0c0ee5c511d5844fe9e8b3e048f
BLAKE2b-256 d5bfcf3adc10155efe2a74982871683d99b72a2643977fb1890665dbd582fa97

See more details on using hashes here.

File details

Details for the file numberize-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: numberize-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for numberize-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 57c3889761d2f6a88496968454e1ca1a65aab112c845991574b6ad36d5fecd99
MD5 70745fec81b62620f857adb761a8eacb
BLAKE2b-256 759d40763673dce82f62f77660d6e7a1bde400a0dff981d59e367d46513e8c8b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page