From 5c6ba3ebcbd4c34a1ea5b96f130ea8a5ae60d818 Mon Sep 17 00:00:00 2001 From: KakaruHayate <97896816+KakaruHayate@users.noreply.github.com> Date: Fri, 26 Jan 2024 19:43:35 +0800 Subject: [PATCH 1/2] Update not neuraL tone words list. --- GPT_SoVITS/text/tone_sandhi.py | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/GPT_SoVITS/text/tone_sandhi.py b/GPT_SoVITS/text/tone_sandhi.py index eafb179..68f497d 100644 --- a/GPT_SoVITS/text/tone_sandhi.py +++ b/GPT_SoVITS/text/tone_sandhi.py @@ -455,6 +455,35 @@ class ToneSandhi: "电子", "人人", "虎虎", + '幺幺', + '干嘛', + '学子', + '哈哈', + '数数', + '袅袅', + '局地', + '以下', + '娃哈哈', + '花花草草', + '留得', + '耕地', + '想想', + '熙熙', + '攘攘', + '卵子', + '死死', + '冉冉', + '恳恳', + '佼佼', + '吵吵', + '打打', + '考考', + '整整', + '莘莘', + '落地', + '算子', + '家家户户', + '青青', } self.punc = ":,;。?!“”‘’':,;.?!" From 9b6f359d05bc10d931a0250609b545a12726a30b Mon Sep 17 00:00:00 2001 From: KakaruHayate <97896816+KakaruHayate@users.noreply.github.com> Date: Fri, 26 Jan 2024 19:48:52 +0800 Subject: [PATCH 2/2] fix " ' " --- GPT_SoVITS/text/tone_sandhi.py | 58 +++++++++++++++++----------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/GPT_SoVITS/text/tone_sandhi.py b/GPT_SoVITS/text/tone_sandhi.py index 68f497d..9f62abe 100644 --- a/GPT_SoVITS/text/tone_sandhi.py +++ b/GPT_SoVITS/text/tone_sandhi.py @@ -455,35 +455,35 @@ class ToneSandhi: "电子", "人人", "虎虎", - '幺幺', - '干嘛', - '学子', - '哈哈', - '数数', - '袅袅', - '局地', - '以下', - '娃哈哈', - '花花草草', - '留得', - '耕地', - '想想', - '熙熙', - '攘攘', - '卵子', - '死死', - '冉冉', - '恳恳', - '佼佼', - '吵吵', - '打打', - '考考', - '整整', - '莘莘', - '落地', - '算子', - '家家户户', - '青青', + "幺幺", + "干嘛", + "学子", + "哈哈", + "数数", + "袅袅", + "局地", + "以下", + "娃哈哈", + "花花草草", + "留得", + "耕地", + "想想", + "熙熙", + "攘攘", + "卵子", + "死死", + "冉冉", + "恳恳", + "佼佼", + "吵吵", + "打打", + "考考", + "整整", + "莘莘", + "落地", + "算子", + "家家户户", + "青青", } self.punc = ":,;。?!“”‘’':,;.?!"