mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-05 19:41:56 +08:00
Update korean.py
This commit is contained in:
parent
32a46d9494
commit
04f2469a84
@ -1,3 +1,5 @@
|
||||
# reference: https://github.com/ORI-Muchim/MB-iSTFT-VITS-Korean/blob/main/text/korean.py
|
||||
|
||||
import re
|
||||
from jamo import h2j, j2hcj
|
||||
import ko_pron
|
||||
@ -260,4 +262,4 @@ def g2p(text):
|
||||
text = re.sub(r'([\u3131-\u3163])$', r'\1.', text)
|
||||
# text = "".join([post_replace_ph(i) for i in text])
|
||||
text = [post_replace_ph(i) for i in text]
|
||||
return text
|
||||
return text
|
||||
|
Loading…
x
Reference in New Issue
Block a user