Merge pull request #17 from Stardust-minus/master

Dev pull
This commit is contained in:
Stardust·减
2023-09-05 01:11:19 +08:00
committed by GitHub

View File

@@ -18,7 +18,6 @@ if 1 in stage:
for line in tqdm.tqdm(open(transcription_path, encoding='utf-8').readlines()):
try:
utt, spk, language, text = line.strip().split('|')
#language = "ZH"
norm_text, phones, tones, word2ph = clean_text(text, language)
f.write('{}|{}|{}|{}|{}|{}|{}\n'.format(utt, spk, language, norm_text, ' '.join(phones),
" ".join([str(i) for i in tones]),