mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-07 23:48:48 +08:00
Update TextPreprocessor.py
This commit is contained in:
parent
277b258360
commit
0d54936a1c
@ -56,7 +56,7 @@ class TextPreprocessor:
|
||||
|
||||
def preprocess(self, text:str, lang:str, text_split_method:str)->List[Dict]:
|
||||
print(i18n("############ 切分文本 ############"))
|
||||
texts = self.replace_consecutive_punctuation(texts)
|
||||
text = self.replace_consecutive_punctuation(text)
|
||||
texts = self.pre_seg_text(text, lang, text_split_method)
|
||||
result = []
|
||||
print(i18n("############ 提取文本Bert特征 ############"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user