mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
update repo
This commit is contained in:
parent
ddcbad5e18
commit
c2bf708f87
@ -27,7 +27,7 @@ def filter_wav_text(data_dir, dataset):
|
||||
parts = line.strip().split()
|
||||
if len(parts) < 2:
|
||||
continue
|
||||
text_dict[parts[0]] = " ".join(parts[1:]).lower()
|
||||
text_dict[parts[0]] = " ".join(parts[1:])
|
||||
filter_count = 0
|
||||
with open(wav_file, "w") as f_wav, open(text_file, "w") as f_text:
|
||||
for sample_name, wav_path in wav_dict.items():
|
||||
|
||||
Loading…
Reference in New Issue
Block a user