From d7900c78dddf1c44983dba6783901f34832fd6a1 Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Tue, 6 Aug 2024 12:41:07 +0800 Subject: [PATCH] Update korean.py --- GPT_SoVITS/text/korean.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/GPT_SoVITS/text/korean.py b/GPT_SoVITS/text/korean.py index 23dea59..8f28136 100644 --- a/GPT_SoVITS/text/korean.py +++ b/GPT_SoVITS/text/korean.py @@ -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 \ No newline at end of file + return text