fixed SyntaxError while checking for jieba

This commit is contained in:
Vishnu Kumar Nekkanti 2017-10-16 18:51:33 +05:30
parent 18ec6610dd
commit d3c54cf39a
1 changed files with 1 additions and 1 deletions

View File

@ -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")