Package org.carrot2.clustering
Class Cluster<T>
java.lang.Object
org.carrot2.clustering.Cluster<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCluster
(Cluster<T> cluster) Adds a child cluster to this cluster.addDocument
(T document) Add a single document to this cluster.Add a single label to this cluster.boolean
Returns all child clusters belonging to this cluster.Returns all documents that belong directly to this cluster.getScore()
Returns this cluster's score or null, if not available.int
hashCode()
Sets this cluster's score.toString()
-
Constructor Details
-
Cluster
public Cluster()
-
-
Method Details
-
getLabels
-
addLabel
-
getDocuments
-
addDocument
-
getClusters
-
addCluster
-
getScore
Returns this cluster's score or null, if not available. -
setScore
-
toString
-
equals
-
hashCode
-