Merge pull request #1429 from vishnunekkanti/develop

fix syntax error in zh
This commit is contained in:
Ines Montani 2017-10-17 14:45:02 +02:00 committed by GitHub
commit aab299c8ae
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ class Chinese(Language):
def make_doc(self, text): def make_doc(self, text):
try: try:
from jieba import jieba
except ImportError: except ImportError:
raise ImportError("The Chinese tokenizer requires the Jieba library: " raise ImportError("The Chinese tokenizer requires the Jieba library: "
"https://github.com/fxsjy/jieba") "https://github.com/fxsjy/jieba")