Skip to content

Commit

Permalink
clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
Stardust-minus authored Sep 4, 2023
1 parent 7810be7 commit f7db8c9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion preprocess_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
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]),
Expand Down

0 comments on commit f7db8c9

Please sign in to comment.