We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7810be7 commit f7db8c9Copy full SHA for f7db8c9
preprocess_text.py
@@ -18,7 +18,6 @@
18
for line in tqdm.tqdm(open(transcription_path, encoding='utf-8').readlines()):
19
try:
20
utt, spk, language, text = line.strip().split('|')
21
- #language = "ZH"
22
norm_text, phones, tones, word2ph = clean_text(text, language)
23
f.write('{}|{}|{}|{}|{}|{}|{}\n'.format(utt, spk, language, norm_text, ' '.join(phones),
24
" ".join([str(i) for i in tones]),
0 commit comments