mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-06-04 23:29:21 +08:00
Update japanese.py
This commit is contained in:
parent
41f3b885f9
commit
d81e3faf07
@ -194,7 +194,7 @@ def _numeric_feature_by_regex(regex, s):
|
|||||||
return -50
|
return -50
|
||||||
return int(match.group(1))
|
return int(match.group(1))
|
||||||
|
|
||||||
def g2p(norm_text, with_prosody=False):
|
def g2p(norm_text, with_prosody=True):
|
||||||
phones = preprocess_jap(norm_text, with_prosody)
|
phones = preprocess_jap(norm_text, with_prosody)
|
||||||
phones = [post_replace_ph(i) for i in phones]
|
phones = [post_replace_ph(i) for i in phones]
|
||||||
# todo: implement tones and word2ph
|
# todo: implement tones and word2ph
|
||||||
|
Loading…
x
Reference in New Issue
Block a user