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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: kinya_tn-0.0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 0d96f81cca99bbdccdec1e12fc44808250eea6067e6de8019c47393e9d6e1ee7
MD5 5655af9c2247af9ae24c362fe613872d
BLAKE2b-256 e20c6fa6588d431c9396a3ec6c9714312b8f4c17dd2010cec7ccc88ff05b81ab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kinya_tn-0.0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8d87ef61de29fa1aa3b162221f94570e4860f85277fadbab8f5847a511359192
MD5 d77f64adee350baa7e9952a6efc5e446
BLAKE2b-256 60d168362ce27291c67619e2b0f831efe29d221467f2304a48166f753cb022e7

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