Update preprocess_text.py
This commit is contained in:
@@ -23,8 +23,8 @@ if 1 in stage:
|
|||||||
f.write('{}|{}|{}|{}|{}|{}|{}\n'.format(utt, spk, language, norm_text, ' '.join(phones),
|
f.write('{}|{}|{}|{}|{}|{}|{}\n'.format(utt, spk, language, norm_text, ' '.join(phones),
|
||||||
" ".join([str(i) for i in tones]),
|
" ".join([str(i) for i in tones]),
|
||||||
" ".join([str(i) for i in word2ph])))
|
" ".join([str(i) for i in word2ph])))
|
||||||
except:
|
except Exception as error :
|
||||||
print("err!", utt)
|
print("err!", utt, error)
|
||||||
|
|
||||||
if 2 in stage:
|
if 2 in stage:
|
||||||
spk_utt_map = defaultdict(list)
|
spk_utt_map = defaultdict(list)
|
||||||
|
|||||||
Reference in New Issue
Block a user