| fun_text_processing/__init__.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| funasr/utils/postprocess_utils.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
fun_text_processing/__init__.py
@@ -1,8 +0,0 @@ """Initialize fun_text_processing package.""" import os dirname = os.path.dirname(__file__) version_file = os.path.join(dirname, "version.txt") with open(version_file, "r") as f: __version__ = f.read().strip() 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