| 程序包 | 说明 |
|---|---|
| com.hankcs.hanlp.mining.word | |
| com.hankcs.hanlp.summary |
| 限定符和类型 | 类和说明 |
|---|---|
class |
TermFrequencyCounter
词频统计工具
|
class |
TfIdfCounter
TF-IDF统计工具兼关键词提取工具
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
TextRankKeyword
基于TextRank算法的关键字提取,适用于单文档
|
| 限定符和类型 | 方法和说明 |
|---|---|
KeywordExtractor |
KeywordExtractor.setSegment(Segment segment)
设置关键词提取器使用的分词器
|
Copyright © 2014–2019 码农场. All rights reserved.