We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 71a80a8 + eb4a137 commit a70aaaeCopy full SHA for a70aaae
exts/zh.py
@@ -6,11 +6,11 @@ class SearchChinese(SearchLanguage):
6
lang = 'zh'
7
8
def init(self, options):
9
- print "reading Chiniese dictionary"
+ print("reading Chiniese dictionary")
10
self.seg = SEG()
11
12
def split(self, input):
13
return self.seg.cut(input.encode("utf8"))
14
15
def word_filter(self, stemmed_word):
16
- return len(stemmed_word) > 1
+ return len(stemmed_word) > 1
0 commit comments