-
大小: 33.61MB文件类型: .zip金币: 1下载: 0 次发布日期: 2023-07-02
- 语言: 其他
- 标签: lucene5 IKAnalyzer Jceseg
资源简介
lucene中文分词器Jceseg和IK Analyzer使用示例,lucene5可以使用,本人亲测成功,大家放心用,喜欢lucene的人大家关注我的博客
http://blog.csdn.net/wuyinggui10000/article/category/3173543
大家共同交流,有需要的加群106570134
代码片段和文件信息
/**
* IK 中文分词 版本 5.0
* IK Analyzer release 5.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License Version 2.0
* (the “License“); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing software
* distributed under the License is distributed on an “AS IS“ BASIS
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 源代码由林良益(linliangyi2005@gmail.com)提供
* 版权声明 2012,乌龙茶工作室
* provided by Linliangyi and copyright 2012 by Oolong studio
*
*/
package org.wltea.analyzer.cfg;
import java.util.List;
/**
*
* 配置管理类接口
*
*/
public interface Configuration {
/**
* 返回useSmart标志位
* useSmart =true ,分词器使用智能切分策略, =false则使用细粒度切分
* @return useSmart
*/
public boolean useSmart();
/**
* 设置useSmart标志位
* useSmart =true ,分词器使用智能切分策略, =false则使用细粒度切分
* @param useSmart
*/
public void setUseSmart(boolean useSmart);
/**
* 获取主词典路径
*
* @return String 主词典路径
*/
public String getMainDictionary();
/**
* 获取量词词典路径
* @return String 量词词典路径
*/
public String getQuantifierDicionary();
/**
* 获取扩展字典配置路径
* @return List 相对类加载器的路径
*/
public List getExtDictionarys();
/**
* 获取扩展停止词典配置路径
* @return List 相对类加载器的路径
*/
public List getExtStopWordDictionarys();
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2015-05-09 19:49 lucene_cnAnalyzer\
目录 0 2015-05-09 19:49 lucene_cnAnalyzer\IK-Analyzer-2012FF\
目录 0 2015-05-09 19:49 lucene_cnAnalyzer\IK-Analyzer-2012FF\dist\
文件 404 2015-01-21 17:51 lucene_cnAnalyzer\IK-Analyzer-2012FF\dist\IKAnalyzer.cfg.xm
文件 1165908 2015-01-21 17:51 lucene_cnAnalyzer\IK-Analyzer-2012FF\dist\IKAnalyzer2012FF_u1.jar
文件 1153882 2015-05-08 21:38 lucene_cnAnalyzer\IK-Analyzer-2012FF\dist\IKAnalyzer2015.jar
文件 17778 2015-01-21 17:51 lucene_cnAnalyzer\IK-Analyzer-2012FF\dist\LICENSE.txt
文件 278 2015-01-21 17:51 lucene_cnAnalyzer\IK-Analyzer-2012FF\dist\NOTICE.txt
文件 129 2015-01-21 17:51 lucene_cnAnalyzer\IK-Analyzer-2012FF\dist\stopword.dic
目录 0 2015-05-09 19:49 lucene_cnAnalyzer\IK-Analyzer-2012FF\doc\
文件 2031 2015-01-21 17:51 lucene_cnAnalyzer\IK-Analyzer-2012FF\doc\allclasses-fr
文件 1831 2015-01-21 17:51 lucene_cnAnalyzer\IK-Analyzer-2012FF\doc\allclasses-nofr
文件 9415 2015-01-21 17:51 lucene_cnAnalyzer\IK-Analyzer-2012FF\doc\constant-values.html
文件 5184 2015-01-21 17:51 lucene_cnAnalyzer\IK-Analyzer-2012FF\doc\deprecated-list.html
文件 9445 2015-01-21 17:51 lucene_cnAnalyzer\IK-Analyzer-2012FF\doc\help-doc.html
目录 0 2015-05-09 19:49 lucene_cnAnalyzer\IK-Analyzer-2012FF\doc\index-files\
文件 6735 2015-01-21 17:51 lucene_cnAnalyzer\IK-Analyzer-2012FF\doc\index-files\index-1.html
文件 6467 2015-01-21 17:51 lucene_cnAnalyzer\IK-Analyzer-2012FF\doc\index-files\index-10.html
文件 6911 2015-01-21 17:51 lucene_cnAnalyzer\IK-Analyzer-2012FF\doc\index-files\index-11.html
文件 6751 2015-01-21 17:51 lucene_cnAnalyzer\IK-Analyzer-2012FF\doc\index-files\index-12.html
文件 10002 2015-01-21 17:51 lucene_cnAnalyzer\IK-Analyzer-2012FF\doc\index-files\index-13.html
文件 8950 2015-01-21 17:51 lucene_cnAnalyzer\IK-Analyzer-2012FF\doc\index-files\index-14.html
文件 7122 2015-01-21 17:51 lucene_cnAnalyzer\IK-Analyzer-2012FF\doc\index-files\index-15.html
文件 6812 2015-01-21 17:51 lucene_cnAnalyzer\IK-Analyzer-2012FF\doc\index-files\index-16.html
文件 6768 2015-01-21 17:51 lucene_cnAnalyzer\IK-Analyzer-2012FF\doc\index-files\index-17.html
文件 6720 2015-01-21 17:51 lucene_cnAnalyzer\IK-Analyzer-2012FF\doc\index-files\index-2.html
文件 7022 2015-01-21 17:51 lucene_cnAnalyzer\IK-Analyzer-2012FF\doc\index-files\index-3.html
文件 6704 2015-01-21 17:51 lucene_cnAnalyzer\IK-Analyzer-2012FF\doc\index-files\index-4.html
文件 12099 2015-01-21 17:51 lucene_cnAnalyzer\IK-Analyzer-2012FF\doc\index-files\index-5.html
文件 6891 2015-01-21 17:51 lucene_cnAnalyzer\IK-Analyzer-2012FF\doc\index-files\index-6.html
文件 11199 2015-01-21 17:51 lucene_cnAnalyzer\IK-Analyzer-2012FF\doc\index-files\index-7.html
............此处省略408个文件信息
评论
共有 条评论