Skip to content

Commit

Permalink
Merge pull request fxsjy#667 from ZhengZixiang/patch-1
Browse files Browse the repository at this point in the history
fix the error about importing ChineseAnalyzer
  • Loading branch information
fxsjy authored Sep 20, 2018
2 parents 7653db2 + ca444fb commit 4c8479c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_whoosh.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from whoosh.fields import *
from whoosh.qparser import QueryParser

from jieba.analyse import ChineseAnalyzer
from jieba.analyse.analyzer import ChineseAnalyzer

analyzer = ChineseAnalyzer()

Expand Down

0 comments on commit 4c8479c

Please sign in to comment.