mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-07 23:48:48 +08:00
Merge branch 'RVC-Boss:main' into main
This commit is contained in:
commit
15da82ac3e
@ -320,7 +320,7 @@ class en_G2p(G2p):
|
|||||||
|
|
||||||
# 尝试分离所有格
|
# 尝试分离所有格
|
||||||
if re.match(r"^([a-z]+)('s)$", word):
|
if re.match(r"^([a-z]+)('s)$", word):
|
||||||
phones = self.qryword(word[:-2])
|
phones = self.qryword(word[:-2])[:]
|
||||||
# P T K F TH HH 无声辅音结尾 's 发 ['S']
|
# P T K F TH HH 无声辅音结尾 's 发 ['S']
|
||||||
if phones[-1] in ['P', 'T', 'K', 'F', 'TH', 'HH']:
|
if phones[-1] in ['P', 'T', 'K', 'F', 'TH', 'HH']:
|
||||||
phones.extend(['S'])
|
phones.extend(['S'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user