Skip to content

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

fixbug

游雁6afd105e75a5
diff --git a/funasr/metrics/wer.py b/funasr/metrics/wer.py
index ab07bc29f..6bac30324 100755
--- a/funasr/metrics/wer.py
+++ b/funasr/metrics/wer.py
@@ -33,8 +33,8 @@ def compute_wer(
if cn_postprocess:
value = " ".join(value)
value = value.replace(" ", "")
- if value[0] == "请":
- value = value[1:]
+ # if value[0] == "请":
+ # value = value[1:]
value = [x for x in value]
hyp_dict[key] = value
with open(ref_file, "r") as ref_reader: