Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.
Python asraudiochineseemotion-recognitionfunasrmcp-servermultilingual-asropenai-compatible-apiparaformerpunctuationpytorchreal-time-asrspeaker-diarizationspeech-recognitionspeech-to-textstreaming-asrtranscriptionvllmvoice-activity-detectionwhisper-alternative
add wav/text mismatch process
speech_asr216dc0978c88
diff --git a/funasr/utils/wav_utils.py b/funasr/utils/wav_utils.pyindex 76ed67853..590ccdbc8 100644--- a/funasr/utils/wav_utils.py+++ b/funasr/utils/wav_utils.py@@ -311,7 +311,7 @@ def filter_wav_text(data_dir, dataset):sample_name, txt = partstext_dict[sample_name] = txtfilter_count = 0- with open(wav_file) as f_wav, open(text_file) as f_text:+ with open(wav_file, "w") as f_wav, open(text_file, "w") as f_text:for sample_name, wav_path in wav_dict.items():if sample_name in text_dict.keys():f_wav.write(sample_name + " " + wav_path + "\n")