# IK-Analyzer **Repository Path**: yuefu/IK-Analyzer ## Basic Information - **Project Name**: IK-Analyzer - **Description**: IK-Analyzer分词器基于lucene7.2.1 - **Primary Language**: Java - **License**: LGPL-2.1 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-02-25 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 本来打算用在自己的网站搜索中的,所以特意般了过来改造了下,但我找到一个感觉更好的项目: - [HanLP](http://hanlp.linrunsoft.com/index.html) IK就这么放这里吧 #IK-Analyzer 中文分词 基于lucene 7.2.1 使用maven依赖 分词演示 org.wltea.analyzer.sample.IKAnalzyerDemo 查询演示 org.wltea.analyzer.sample.LuceneIndexAndSearchDemo Maven打包 1. 通过mvn clean 清理target 2. 通过mvn package来构建jar包 3. /Users/huiyu/ideaProject/myCoding/IK-Analyzer/target/IK-Analyzer-1.0-SNAPSHOT.jar 使用说明: 1、test的resouces中的三个文件也要放入到使用的项目resource中 2、删除main2012.dic和quantifier.dic两个文件 3. 通过Maven打包; 4. 将IK-Analyzer-1.0-SNAPSHOT.jar方法使用的项目lib中, 5、hotword.dic为要分的词(如果有词分不出来之间加入进去),stopword.dic为停用词