Update __init__.py
Set the "cut_all" parameter to False, or jieba will return ALL POSSIBLE word segmentations.
@@ -7,6 +7,6 @@ class Chinese(Language):
def make_doc(self, text):
import jieba
- words = list(jieba.cut(text, cut_all=True))
+ words = list(jieba.cut(text, cut_all=False))
words=[x for x in words if x]
return Doc(self.vocab, words=words, spaces=[False]*len(words))
