Skip to main content

Converts text to integers

Project description

The package is used to convert texts to integers. You can use the below examples to get started

pip install text2integer

from text_2_integer.t2i import text_2_integer

ti = text_2_integer.text_2_int()

ti.text2int("five lakh",scales_use='hi') #500000 ti.text2int("paanch lakh",scales_use='hi') #500000

ti.text2int("nine point five lakh",scales_use='hi') #950000

ti.text2int("paanch hazaar",scales_use='hi') #5000

We support hindi/english languages and the work is in developmental phase

License

MIT License License: MIT + file text_2_integer.py

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

text2integer-0.1.5.tar.gz (1.5 kB view details)

Uploaded Source

File details

Details for the file text2integer-0.1.5.tar.gz.

File metadata

  • Download URL: text2integer-0.1.5.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5

File hashes

Hashes for text2integer-0.1.5.tar.gz
Algorithm Hash digest
SHA256 fef1744cf27444e37bab46e40ca9577c06814c1d4f4076899b82208ff4198372
MD5 be129efd6fa10fa2cc42cf1a86c716a3
BLAKE2b-256 fcf591cfdd2f831924d2ac5999a6af64f63979567701f8ec857a6156653ba8c4

See more details on using hashes here.

Supported by

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