Code Folders and files Name Last commit message Last commit date Latest commit Kyubyong changed tokenizer Dec 31, 2019 c6439c2·Dec 31, 2019 History 47 Commits .idea v.2.0 Apr 8, 2019 g2p_en changed tokenizer Dec 31, 2019 .gitignore ...
修改内容: 通过 g2p_en 处理英文多音字问题。Fix 英文发音错误 #760 将本地音素词典升级到官方0.7b版本,使用本地词典替换 g2p_en 词典。重写 g2p_en 预测逻辑,先尝试使用分词合成新造复合词,无法拆词再沿用 g2p_en 预测。 其他: 修改后已支持正确输出类如chatgpt、
P.S. 欢迎关注我们的 github repoPaddleSpeech, 是基于飞桨 PaddlePaddle 的语音方向的开源模型库,用于语音和音频中的各种关键任务的开发,包含大量基于深度学习前沿和有影响力的模型。
from g2p_en import G2p from string import punctuation @@ -12,7 +13,6 @@ CMU_DICT_FAST_PATH = os.path.join(current_file_path, "cmudict-fast.rep") CMU_DICT_HOT_PATH = os.path.join(current_file_path, "engdict-hot.rep") CACHE_PATH = os.path.join(current_file_path, "engdict...
Add file download (averaged_perceptron_tagger_eng) required by package (espnet_tts_frontend > g2p_en) that is not downloaded automatically Why? Fix CI See also This is a quick fix to test CI. It maybe requires to move the command to a different file or repo (espnet_tts_frontend). ...
GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.
# g2p_en 原版多音字处理 elif word in self.homograph2features: # Check homograph pron1, pron2, pos1 = self.homograph2features[word] if pos.startswith(pos1): pron = pron1 else: pron = pron2 else: # 递归查找预测 pron = self.qryword(word) prons.extend(pron) prons.extend([" "]) ...
g2p_en = G2pEn() 2 changes: 0 additions & 2 deletions 2 g2p_mix/tone_sandhi.py Original file line numberDiff line numberDiff line change @@ -14,8 +14,6 @@ import jieba from .token import Token class ToneSandhi: def __init__(self): 0 comments on commit f7889a1 Please ...
.github/workflows g2p_mix .flake8 .pre-commit-config.yaml LICENSE MANIFEST.in README.md VERSION requirements.txt setup.py Repository files navigation README License g2p-mix Cantonese: pycantonese English: g2p_en Mandarin: pypinyin Usage $ pip install g2p-mix $ python Mandarin...
petronny/g2pPublic Notifications Fork3 Star25 Pre-trained grapheme-to-phoneme (G2P) models 25stars3forksBranchesTagsActivity Star Notifications master BranchesTags Code Folders and files Latest commit en_gb en_us zh_cn .gitignore .gitmodules ...