Commit 1e5d55d9 authored by jon-tow's avatar jon-tow
Browse files

Remove redefinition of `jieba`

parent 0699d774
...@@ -77,8 +77,6 @@ def create_tasks_from_benchmarks(benchmark_dict): ...@@ -77,8 +77,6 @@ def create_tasks_from_benchmarks(benchmark_dict):
def zh_split(zh_text: List[str]) -> List[str]: def zh_split(zh_text: List[str]) -> List[str]:
"""Chinese splitting""" """Chinese splitting"""
import jieba
if not HAS_JIEBA: if not HAS_JIEBA:
raise ImportError( raise ImportError(
"Chinese text splitting requires the `jieba` package. " "Chinese text splitting requires the `jieba` package. "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment