This commit is contained in:
nl8590687 2018-04-28 15:48:15 +08:00
parent 1750e33d94
commit 09607561cc
2 changed files with 3 additions and 2 deletions

View File

@ -770,6 +770,7 @@ ping1 乒
ping2 坪苹萍平凭瓶评屏
po1 坡泼颇
po2 婆
po3 颇叵
po4 破魄迫粕
pou1 剖
pu1 扑铺

View File

@ -127,12 +127,12 @@ class DataSpeech():
# 读取一个文件
if(n_start % bili == 0):
filename = self.dic_wavlist_thchs30[self.list_wavnum_thchs30[n_start // bili]]
list_symbol=self.dic_symbollist_thchs30[self.list_symbolnum[n_start // bili]]
list_symbol=self.dic_symbollist_thchs30[self.list_symbolnum_thchs30[n_start // bili]]
else:
n = n_start // bili * (bili - 1)
yushu = n_start % bili
filename = self.dic_wavlist_stcmds[self.list_wavnum_stcmds[n + yushu - 1]]
list_symbol=self.dic_symbollist_stcmds[self.list_symbolnum[n + yushu - 1]]
list_symbol=self.dic_symbollist_stcmds[self.list_symbolnum_stcmds[n + yushu - 1]]
if('Windows' == plat.system()):
filename = filename.replace('/','\\') # windows系统下需要执行这一行对文件路径做特别处理