Skip to main content

Production multilingual TTS text normalizer — vi, en, zh, ja, ko, fr, de

Project description

brighto-norm4tts

Production multilingual TTS text normalizer by BrighTO Technology / HATTO AI.

Converts written text → spoken form for TTS pipelines.
Pure Python · Zero dependencies · < 1ms per sentence.

Languages

Code Language Decimal sep Thousand sep
vi Vietnamese , phẩy .
en English . point ,
zh Chinese . ,
ja Japanese . ,
ko Korean . ,
fr French , virgule . or
de German , Komma .

Install

pip install brighto-norm4tts          # from PyPI / private registry
pip install .                          # from source
pip install -e .                       # dev editable

Usage

from brighto_norm4tts import TTSNormalizer

norm = TTSNormalizer("vi")
norm.normalize("năm 2026 tăng 15.4%")
# → năm hai nghìn hai mươi sáu tăng mười lăm phẩy bốn phần trăm

# Wildcard import also works
from brighto_norm4tts import *
norm = TTSNormalizer("en")
norm.normalize("Revenue $1.5M, up 12.3%", lower=False, punc=False)
# → Revenue one point five million dollars, up twelve point three percent

API

TTSNormalizer(lang)                               # lang: vi|en|zh|ja|ko|fr|de
    .normalize(text, lower=False, punc=True)      # main method
    .benchmark(sentences, num_runs=100)           # latency profiling

CLI

brighto-norm --lang vi --text "năm 2026 tăng 15.4%"
brighto-norm --lang vi --demo
brighto-norm --lang en --benchmark

Private PyPI deployment

# Build
pip install build && python -m build

# Upload to internal registry
twine upload --repository-url https://pypi.internal.brightotechnology.com dist/*

# Install on any server
pip install brighto-norm4tts --index-url https://pypi.internal.brightotechnology.com

© BrighTO Technology. All rights reserved.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

brighto_norm4tts-1.0.0-py3-none-any.whl (31.0 kB view details)

Uploaded Python 3

File details

Details for the file brighto_norm4tts-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for brighto_norm4tts-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d11d0f0dd7691bf96f0f48d4c7f7453348d04a1e1aec811c187511cef28c069
MD5 6033e49279624b2dda351a83c85905ed
BLAKE2b-256 90f085b7c5797a8c84b6759136e0e35b8389fcee7ab2f1fc9ae6a0571907c59c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page