public static enum MultilingualClustering.LanguageAggregationStrategy extends Enum<MultilingualClustering.LanguageAggregationStrategy>
| Enum Constant and Description |
|---|
CLUSTER_IN_MAJORITY_LANGUAGE
Clusters all documents assuming the language of the majority of documents.
|
FLATTEN_ALL
Combines clusters created for all languages into one flat list.
|
FLATTEN_MAJOR_LANGUAGE
Puts clusters generated for the largest language partition on the first level
of the hierarchy.
|
FLATTEN_NONE
Puts clusters corresponding to language names, e.g.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static MultilingualClustering.LanguageAggregationStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MultilingualClustering.LanguageAggregationStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MultilingualClustering.LanguageAggregationStrategy FLATTEN_ALL
public static final MultilingualClustering.LanguageAggregationStrategy FLATTEN_MAJOR_LANGUAGE
public static final MultilingualClustering.LanguageAggregationStrategy FLATTEN_NONE
public static final MultilingualClustering.LanguageAggregationStrategy CLUSTER_IN_MAJORITY_LANGUAGE
MultilingualClustering.defaultLanguage
will be used.public static MultilingualClustering.LanguageAggregationStrategy[] values()
for (MultilingualClustering.LanguageAggregationStrategy c : MultilingualClustering.LanguageAggregationStrategy.values()) System.out.println(c);
public static MultilingualClustering.LanguageAggregationStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<MultilingualClustering.LanguageAggregationStrategy>