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

Uploaded Source

Built Distribution

kinya_tn-0.0.1.3-py3-none-any.whl (103.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kinya_tn-0.0.1.3.tar.gz
  • Upload date:
  • Size: 98.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.3.tar.gz
Algorithm Hash digest
SHA256 d7ada0b50a57da706004989d0a76564a2002825b103bed240c377762b50bc531
MD5 6a2990aac8589285fc28da412aa9890c
BLAKE2b-256 9fdd3344795279663d0bc46aa6432cab25629b017b89616446806a5f6f81a87d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kinya_tn-0.0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 103.1 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 efab180d9cd23c43bb971bbf2a30ace23249346e704184d3dbbdbdec076fc87b
MD5 8db288ce28260f923978f7e44e2506db
BLAKE2b-256 c639becfdd40fda760d8df594f8a7ad79e9ecd4d3089a4ef6fb562053b20539c

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