mirror of https://github.com/explosion/spaCy.git
Merge pull request #1429 from vishnunekkanti/develop
fix syntax error in zh
This commit is contained in:
commit
aab299c8ae
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue