mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-06 03:57:44 +08:00
第一遍正则匹配不查找'.'
This commit is contained in:
parent
3e8c071e9a
commit
d6629a8c6c
@ -200,7 +200,7 @@ dict_language = {
|
|||||||
|
|
||||||
|
|
||||||
def splite_en_inf(sentence, language):
|
def splite_en_inf(sentence, language):
|
||||||
pattern = re.compile(r'[a-zA-Z. ]+')
|
pattern = re.compile(r'[a-zA-Z ]+')
|
||||||
textlist = []
|
textlist = []
|
||||||
langlist = []
|
langlist = []
|
||||||
pos = 0
|
pos = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user