zhifu gao
2023-01-09 e5819185cfb4b2cc8541c51274934e529fb3ac88
Merge pull request #29 from alibaba-damo-academy/dev

Dev
2个文件已修改
10 ■■■■ 已修改文件
fun_text_processing/__init__.py 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
funasr/utils/postprocess_utils.py 2 ●●● 补丁 | 查看 | 原始文档 | 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