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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: kinya_tn-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 5407f99a41101d437a20de79288002eaaa7e9bbbe6ee5c35364e0534c4d60d96
MD5 4d69fefb5c8b748c5a3c45698073f2bb
BLAKE2b-256 2ea0dbd57865e8cf529add6e4baf3f54d47f9fde41e5ea72e24d46631c4b5bc7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kinya_tn-0.0.1.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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 755057f2e6d33c4cf03e7fe77f4aa03bcf6e53ec02283049fd695df3d1f78986
MD5 be4182fcd46b28e949c9e63c1403be6c
BLAKE2b-256 1d54395e70678ff005e228b826e7e758c1e350668a7a9f0a83b3c03f2a169a1b

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