From e5819185cfb4b2cc8541c51274934e529fb3ac88 Mon Sep 17 00:00:00 2001
From: zhifu gao <zhifu.gzf@alibaba-inc.com>
Date: 星期一, 09 一月 2023 19:58:54 +0800
Subject: [PATCH] Merge pull request #29 from alibaba-damo-academy/dev
---
funasr/utils/postprocess_utils.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/funasr/utils/postprocess_utils.py b/funasr/utils/postprocess_utils.py
index fe8bd54..b18cd19 100644
--- a/funasr/utils/postprocess_utils.py
+++ b/funasr/utils/postprocess_utils.py
@@ -5,7 +5,7 @@
def isChinese(ch: str):
- if '\u4e00' <= ch <= '\u9fff':
+ if '\u4e00' <= ch <= '\u9fff' or '\u0030' <= ch <= '\u0039':
return True
return False
--
Gitblit v1.9.1