mirror of https://github.com/fxsjy/jieba.git
fix the error about imoprting ChineseAnalyzer
Because of the interface change about ChineseAnlayzer , the code 'from jieba.analyse import Chinese Analyzer' in this test file would report an ImportError like 'cannot import name 'ChineseAnalyzer'. Just change import code to 'from jieba.analyse.analyzer import ChineseAnalyzer' can fix it.pull/667/head
parent
7653db2e33
commit
ca444fb4da
Loading…
Reference in New Issue