Skip to main content

Python package for text normalization, use for frontend of Text-to-speech Reseach

Project description

Install ViNorm package

pip install vinorm

Using in python script

from vinorm import TTSnorm
S=TTSnorm("Chuẩn hóa hệ thống nói tự động, gồm RegEx và Acronyms")

Just get normalization without lowercase

from vinorm import TTSrawUpper
S=TTSrawUpper("Kết QUẢ trả VỀ là một String")

Just get normalization wit Regex, not using Dictionary Checking

from vinorm import TTSrule
S=TTSrule("Hàm này được phát triển từ 8/2019")

Do not replace punctuation with dot and coma

from vinorm import TTSnorm_punc
S=TTSnorm_punc("Câu này có dấu ! và ?")

Do not replace unknow word

from vinorm import TTSnorm_punc
S=TTSnorm_punc_unknown("Tình hình Covid 19 phức tạp")

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

vinorm-1.0.5-py3-none-any.whl (40.5 MB 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