Skip to content

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

update text postprocess

仁迷ad75a464d8f5
diff --git a/funasr/utils/postprocess_utils.py b/funasr/utils/postprocess_utils.py
index fe8bd547d..b18cd194d 100644
--- a/funasr/utils/postprocess_utils.py
+++ b/funasr/utils/postprocess_utils.py
@@ -5,7 +5,7 @@ from typing import Any, List, Union
def isChinese(ch: str):
- if '\u4e00' <= ch <= '\u9fff':
+ if '\u4e00' <= ch <= '\u9fff' or '\u0030' <= ch <= '\u0039':
return True
return False