public class Cluster extends Object
| 构造器和说明 |
|---|
Cluster(List<String> labels,
double score,
List<String> docIds) |
Cluster(List<String> labels,
double score,
List<String> docIds,
List<Cluster> subclusters,
boolean otherTopics) |
public Cluster(List<String> labels, double score, List<String> docIds, List<Cluster> subclusters, boolean otherTopics)
labels - the list of human readable labels associated to the clusterscore - the score produced by the clustering algorithm for the current clusterdocIds - the list of document Ids belonging to the clusterpublic double getScore()
public void setScore(double score)
public boolean isOtherTopics()
true, the cluster contains references to documents that are not semantically associated
and form a group of documents not related to any other cluster (or themselves).Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.