mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-07 08:04:18 +00:00
Update prepare_tokens_vctk.py
This commit is contained in:
parent
a0d93368f8
commit
b99f2f3996
@ -43,7 +43,7 @@ def prepare_tokens_vctk():
|
|||||||
for cut in tqdm(cut_set):
|
for cut in tqdm(cut_set):
|
||||||
# Each cut only contains one supervision
|
# Each cut only contains one supervision
|
||||||
assert len(cut.supervisions) == 1, len(cut.supervisions)
|
assert len(cut.supervisions) == 1, len(cut.supervisions)
|
||||||
text = cut.supervisions[0].normalized_text
|
text = cut.supervisions[0].text
|
||||||
# Text normalization
|
# Text normalization
|
||||||
text = tacotron_cleaner.cleaners.custom_english_cleaners(text)
|
text = tacotron_cleaner.cleaners.custom_english_cleaners(text)
|
||||||
# Convert to phonemes
|
# Convert to phonemes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user