Skip to main content

A small package that convert time, cardinal numbers, some acronyms and transliterations cases from their written form to their verbalized form. It can be used to normalize text before feeding it into a text-to-speech model.

Project description

Kinya_TN

Kinyarwanda_TextNormalization(Kinya_TN) is a small package that convert time, cardinal numbers, some acronyms and transliterations cases from their written form to their verbalized form. It can be used to preprocess text to an adequate form for text-to-speech models.

Installation

pip install kinya_tn

Usage

from kinya_tn import text_normalization

text_normalization.normalize("abantu 2000 baje kure ikiganiro cya covid cyatangiye 12:40")

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

kinya_tn-0.0.1.tar.gz (400.8 kB view details)

Uploaded Source

Built Distribution

kinya_tn-0.0.1-py3-none-any.whl (412.2 kB view details)

Uploaded Python 3

File details

Details for the file kinya_tn-0.0.1.tar.gz.

File metadata

  • Download URL: kinya_tn-0.0.1.tar.gz
  • Upload date:
  • Size: 400.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for kinya_tn-0.0.1.tar.gz
Algorithm Hash digest
SHA256 341158017f6422f00e17fd31f7ac1bf5a736accef02b3e5b78d0d273cc59e546
MD5 03155424c825007a18243fcebd9242d3
BLAKE2b-256 e3fbee7418fde8289376211e8d3efc265b2f7094c71d2d4a65e2151dbb4076d1

See more details on using hashes here.

File details

Details for the file kinya_tn-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: kinya_tn-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 412.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for kinya_tn-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 44ac710a0c1607fff5557f526fa2fe48670f4f0b9cfb9c682a9ea374b28d8536
MD5 81670130d60e5c1b911097a25d19ea1f
BLAKE2b-256 a2c839e5aef2cebf4f7d9090b58c948c318562375e7f2ca0ac9bbc8ed0c78ae3

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