1,IKAnalyzer 的主配置文件是IKAnalyzer.cfg.xml,在其中可以配置stopword和一些自己扩展的stopword信息
2,下面是配置实例:
-rw-rw-r-- 1 joeyon joeyon 49 Jan 20 2014 ext.dic
-rwxrwxr-x 1 joeyon joeyon 405 Jan 16 2014 IKAnalyzer.cfg.xml*
-rw-r--r-- 1 joeyon joeyon 846 Nov 4 2013 log4j.properties
-rwxrwxr-x 1 joeyon joeyon 703 Feb 10 2014 stopword.dic*
3,配置实例文件:
cat stopword.dic
is
it
no
not
of
on
or
such
that
the
their
then
there
these
they