Skip to content

Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.

Update wav_utils.py

zhuzizyf1a39b6f981d2
diff --git a/funasr/utils/wav_utils.py b/funasr/utils/wav_utils.py
index d7afe4acc..4a764a9d1 100644
--- a/funasr/utils/wav_utils.py
+++ b/funasr/utils/wav_utils.py
@@ -309,7 +309,7 @@ def filter_wav_text(data_dir, dataset):
if len(parts) < 2:
continue
sample_name = parts[0]
- text_dict[sample_name] = " ".join(parts[1:])
+ text_dict[sample_name] = " ".join(parts[1:]).lower()
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():