diff --git a/exts/zh.py b/exts/zh.py index bc80c757..4877c812 100644 --- a/exts/zh.py +++ b/exts/zh.py @@ -6,11 +6,11 @@ class SearchChinese(SearchLanguage): lang = 'zh' def init(self, options): - print "reading Chiniese dictionary" + print("reading Chiniese dictionary") self.seg = SEG() def split(self, input): return self.seg.cut(input.encode("utf8")) def word_filter(self, stemmed_word): - return len(stemmed_word) > 1 \ No newline at end of file + return len(stemmed_word) > 1