From d3c54cf39a7e98ad0568885d89f9306494e2936a Mon Sep 17 00:00:00 2001 From: Vishnu Kumar Nekkanti Date: Mon, 16 Oct 2017 18:51:33 +0530 Subject: [PATCH] fixed SyntaxError while checking for jieba --- spacy/lang/zh/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")