| 程序包 | 说明 |
|---|---|
| com.hankcs.hanlp.mining.cluster |
文本聚类模块(k-means和repeated bisection)
参考文献 Steinbach M, Karypis G, Kumar V.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected HashMap<K,Document<K>> |
ClusterAnalyzer.documents_ |
| 限定符和类型 | 方法和说明 |
|---|---|
Document<K> |
ClusterAnalyzer.addDocument(K id,
List<String> document)
添加文档
|
Document<K> |
ClusterAnalyzer.addDocument(K id,
String document)
添加文档
|
| 构造器和说明 |
|---|
Cluster(List<Document<K>> documents) |
Copyright © 2014–2019 码农场. All rights reserved.