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.3.1.tar.gz (233.1 kB view hashes)

Uploaded Source

Built Distribution

kinya_tn-0.0.1.3.1-py3-none-any.whl (246.7 kB view hashes)

Uploaded Python 3

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