liangsi03 / ik-analyzer

Automatically exported from code.google.com/p/ik-analyzer
0 stars 0 forks source link

停词表不起作用? #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
采用动态加载停词表,如有个停词为"怎么了",跟踪也可以看��
�该停词有:
org.wltea.analyzer.dic.Dictionary.isStopWord("怎么了吧".toCharArray(), 0, 
3):true。
但是在查询的时候,这个停词没起作用,如我查询词"你怎么�
��啊",查询解析器分词的结果为:Boolean Query:+NAME:"你 怎么 啊".

Original issue reported on code.google.com by gongsip...@gmail.com on 12 Nov 2010 at 3:17

GoogleCodeExporter commented 8 years ago
因为词库里面没有“怎么了”这个词,所以,分词器根本就��
�会切分出“怎么了”,那么停止词就不可能起作用

Original comment by linliang...@gmail.com on 9 Feb 2011 at 7:05