Python package for convert text to phoneme ipa, use for cross language embedding Text-to-speech Reseach
Project description
Project Custom from vPhon for convert Raw text to IPA
-
Use for embeding TTS model using Tacotron2
-
By using IPA, tacotron2 can deal with cases cross language as a proposal from futre paper
-
Include diary research in phoneme of Vietnamese, painful and character of Viet
-
Function include: Convert Grapheme to IPA, List same token output, normalize text with vinorm and wordtoken
-
Requirment: vinorm, underthesea, eng_to_ipa
pip install vinorm
pip install underthesea
pip install eng_to_ipa
Usage:
from viphoneme import vi2IPA
phoneme = vi2IPA("Được viết vào 6/4/2020, có thể xử lí những trường hợp chứa English")
>> dɯək6 viət5 vaw2 ʂăw5 tʰaŋ5 bon5 năm1 haj1 ŋin2 xoŋ͡m1 ʈăm1 haj1_mɯəj1 , kɔ5_tʰe4 sɯ4_li5 ɲɯŋ3 ʈɯəŋ2_hɤp6 cɯə5 ˈɪŋlɪʃ
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
viphoneme-0.0.5-py3-none-any.whl
(46.6 kB
view hashes)
Close
Hashes for viphoneme-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea681e7b4ca33730dcef697a8794200cdfa4a00a5a78d8da4a5e991575698871 |
|
MD5 | 84e6ecf8635097100db5a89aa0378443 |
|
BLAKE2b-256 | df39a0e2fa999e34863d4521b5bd3a6a2fa3b6a0649846597a04aa1989e67534 |