Python - NSW package for Vietnamese: Normalization system to convert numbers, abbreviations, and words that cannot be pronounced into syllables
Makefile
67
7 commits
updated Jan 1, 2025
pip install vinorm
from vinorm import TTSnorm
S=TTSnorm("Hàm này được phát triển từ 8/2019. Có phải tháng 12/2020 đã có vaccine phòng ngừa Covid-19 xmz ?")
Some option
TTSnorm(text, punc = False, unknown = True, lower = True, rule = False )
From version 2.0, do not replace unknown words, skip them for espeak handle in phonetization step
For update lastest version access: https://github.com/NoahDrisort/vinorm
For version 1.0: spell words that is unknown by each character, check previous commit
For mac version: https://github.com/v-nhandt21/Vinorm/tree/vinorm_mac
For C++ version: https://github.com/NoahDrisort/vinorm_cpp_version
python setup.py sdist bdist_wheel
twine upload dist/*
Makefile
81.3%
Python
13.5%
BitBake
5.2%
Python - NSW package for Vietnamese: Normalization system to convert numbers, abbreviations, and words that cannot be pronounced into syllables
Makefile
67
7 commits
updated Jan 1, 2025
pip install vinorm
from vinorm import TTSnorm
S=TTSnorm("Hàm này được phát triển từ 8/2019. Có phải tháng 12/2020 đã có vaccine phòng ngừa Covid-19 xmz ?")
Some option
TTSnorm(text, punc = False, unknown = True, lower = True, rule = False )
From version 2.0, do not replace unknown words, skip them for espeak handle in phonetization step
For update lastest version access: https://github.com/NoahDrisort/vinorm
For version 1.0: spell words that is unknown by each character, check previous commit
For mac version: https://github.com/v-nhandt21/Vinorm/tree/vinorm_mac
For C++ version: https://github.com/NoahDrisort/vinorm_cpp_version
python setup.py sdist bdist_wheel
twine upload dist/*
Makefile
81.3%
Python
13.5%
BitBake
5.2%