Merge branch 'master' into dev
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
# 2024-01-05に、日本語の処理部分にあった大きいバグを修正しました。アップデートして使うのを強くおすすめします。(学習もし直すといいかもしれません。)
|
||||||
# Style-Bert-VITS2
|
# Style-Bert-VITS2
|
||||||
|
|
||||||
Bert-VITS2 with more controllable voice styles.
|
Bert-VITS2 with more controllable voice styles.
|
||||||
|
|||||||
@@ -39,9 +39,6 @@ def hiragana2p(text: str) -> str:
|
|||||||
# 2文字からなる変換規則
|
# 2文字からなる変換規則
|
||||||
text = text.replace("ぅ゛", " v u")
|
text = text.replace("ぅ゛", " v u")
|
||||||
|
|
||||||
# ゔの処理を追加
|
|
||||||
text = text.replace("ゔ", " v u")
|
|
||||||
|
|
||||||
text = text.replace("あぁ", " a a")
|
text = text.replace("あぁ", " a a")
|
||||||
text = text.replace("いぃ", " i i")
|
text = text.replace("いぃ", " i i")
|
||||||
text = text.replace("いぇ", " i e")
|
text = text.replace("いぇ", " i e")
|
||||||
@@ -245,6 +242,7 @@ def hiragana2p(text: str) -> str:
|
|||||||
text = text.replace("あ", " a")
|
text = text.replace("あ", " a")
|
||||||
text = text.replace("い", " i")
|
text = text.replace("い", " i")
|
||||||
text = text.replace("う", " u")
|
text = text.replace("う", " u")
|
||||||
|
text = text.replace("ゔ", " v u") # ゔの処理を追加
|
||||||
text = text.replace("え", " e")
|
text = text.replace("え", " e")
|
||||||
text = text.replace("お", " o")
|
text = text.replace("お", " o")
|
||||||
text = text.replace("か", " k a")
|
text = text.replace("か", " k a")
|
||||||
|
|||||||
Reference in New Issue
Block a user