Package | Description |
---|---|
cn.hutool.core.collection |
集合以及Iterator封装,包括集合工具CollUtil,Iterator和Iterable工具IterUtil
|
cn.hutool.core.text.csv |
提供CSV文件读写的封装,入口为CsvUtil
规范见:https://datatracker.ietf.org/doc/html/rfc4180 |
cn.hutool.core.text.split | |
cn.hutool.extra.tokenizer |
中文分词封装
通过定义统一接口,适配第三方分词引擎 |
cn.hutool.extra.tokenizer.engine.analysis |
Lucene-analysis分词抽象封装
项目地址:https://github.com/apache/lucene-solr/tree/master/lucene/analysis |
cn.hutool.extra.tokenizer.engine.ikanalyzer |
IKAnalyzer分词引擎实现
项目地址:https://github.com/yozhao/IKAnalyzer |
cn.hutool.extra.tokenizer.engine.jcseg |
Jcseg分词引擎实现
项目地址:https://gitee.com/lionsoul/jcseg |
cn.hutool.extra.tokenizer.engine.mmseg |
mmseg4j分词引擎实现
项目地址:https://github.com/chenlb/mmseg4j-core |
Modifier and Type | Class and Description |
---|---|
class |
LineIter
将Reader包装为一个按照行读取的Iterator
此对象遍历结束后,应关闭之,推荐使用方式: LineIterator it = null; try { it = new LineIterator(reader); while (it.hasNext()) { String line = it.nextLine(); // do something with line } } finally { it.close(); } 此类来自于Apache Commons io |
Modifier and Type | Class and Description |
---|---|
class |
CsvParser
CSV行解析器,参考:FastCSV
|
Modifier and Type | Class and Description |
---|---|
class |
SplitIter
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractResult
|
Modifier and Type | Class and Description |
---|---|
class |
AnalysisResult
Lucene-analysis分词抽象结果封装
项目地址:https://github.com/apache/lucene-solr/tree/master/lucene/analysis |
Modifier and Type | Class and Description |
---|---|
class |
IKAnalyzerResult
IKAnalyzer分词结果实现
项目地址:https://github.com/yozhao/IKAnalyzer |
Modifier and Type | Class and Description |
---|---|
class |
JcsegResult
Jcseg分词结果包装
项目地址:https://gitee.com/lionsoul/jcseg |
Modifier and Type | Class and Description |
---|---|
class |
MmsegResult
mmseg4j分词结果实现
项目地址:https://github.com/chenlb/mmseg4j-core |
Copyright © 2024. All rights reserved.