diff --git a/spacy/lang/zh/__init__.py b/spacy/lang/zh/__init__.py index 46ad3946f..6246fa7ea 100644 --- a/spacy/lang/zh/__init__.py +++ b/spacy/lang/zh/__init__.py @@ -10,7 +10,7 @@ class Chinese(Language): def make_doc(self, text): try: - from jieba + import jieba except ImportError: raise ImportError("The Chinese tokenizer requires the Jieba library: " "https://github.com/fxsjy/jieba")