Package org.carrot2.clustering
Class SharedInfrastructure
- java.lang.Object
-
- org.carrot2.clustering.SharedInfrastructure
-
public class SharedInfrastructure extends Object
-
-
Constructor Summary
Constructors Constructor Description SharedInfrastructure()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AttrString
queryHintAttribute()
static int
recursiveDocumentCount(Cluster<?> cluster)
static <T extends Document>
List<Cluster<T>>reorderByDescendingSizeAndLabel(ArrayList<Cluster<T>> clusters)
static <T> List<Cluster<T>>
reorderByWeightedScoreAndSize(List<Cluster<T>> clusters, double scoreWeight)
-
-
-
Method Detail
-
queryHintAttribute
public static AttrString queryHintAttribute()
-
reorderByWeightedScoreAndSize
public static <T> List<Cluster<T>> reorderByWeightedScoreAndSize(List<Cluster<T>> clusters, double scoreWeight)
-
reorderByDescendingSizeAndLabel
public static <T extends Document> List<Cluster<T>> reorderByDescendingSizeAndLabel(ArrayList<Cluster<T>> clusters)
-
recursiveDocumentCount
public static int recursiveDocumentCount(Cluster<?> cluster)
-
-