- getAllDocuments
Returns all documents in this cluster ordered according to the provided
comparator. See Document for
- getDocuments
Returns all documents contained in this cluster. The returned list is
unmodifiable.
- getLabel
Formats this cluster's label. If there is more than one phrase describing this
cluster, phrases will
- getSubclusters
Returns all subclusters of this cluster. The returned list is unmodifiable.
- isOtherTopics
Returns true if this cluster is the #OTHER_TOPICS cluster.
- <init>
Creates a Cluster with the provided phrase to be used as the cluster's label and
documents containe
- addDocuments
Adds document to this cluster.
- addPhrases
Adds phrases to the description of this cluster.
- addSubclusters
Adds subclusters to this cluster
- appendOtherTopics
If there are unclustered documents, appends the "Other Topics" group to the
clusters.
- assignClusterIds
Assigns sequential identifiers to the provided clusters (and their
sub-clusters). If any cluster alr
- buildOtherTopics
Builds an "Other Topics" cluster that groups those documents fromallDocument
that were not referenc