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
Release history Release notifications | RSS feed
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.7-py3-none-any.whl
(40.5 MB
view hashes)