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 details)
Built Distribution
kinya_tn-0.0.1.3.1-py3-none-any.whl
(246.7 kB
view details)
File details
Details for the file kinya_tn-0.0.1.3.1.tar.gz
.
File metadata
- Download URL: kinya_tn-0.0.1.3.1.tar.gz
- Upload date:
- Size: 233.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4534c4ceb734e37913e3df2169682e99ee1d6d3b28b82c7d74a81d940b3f4f41 |
|
MD5 | 1ed200b7d2b43cd741622e904fd0084f |
|
BLAKE2b-256 | 3901ad8f1e59b9454ead5e5ad6ceeb7841f23164a5fbb660117122a8da8acf78 |
File details
Details for the file kinya_tn-0.0.1.3.1-py3-none-any.whl
.
File metadata
- Download URL: kinya_tn-0.0.1.3.1-py3-none-any.whl
- Upload date:
- Size: 246.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02a744acbc1f12f8f412922c1861361fee3f5a47a697e572331036dd147cb25d |
|
MD5 | 90f76b1013e4f8822283cc3b209630b6 |
|
BLAKE2b-256 | 13668754ceea408e1719a957fd0883b087a7239997a34fe223d6e7d51b2bf367 |