|
Carrot2 v3.5.2
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<MultilingualClustering.LanguageAggregationStrategy>
org.carrot2.text.clustering.MultilingualClustering.LanguageAggregationStrategy
public static enum MultilingualClustering.LanguageAggregationStrategy
Defines how monolingual partial clusters will be combined to form final results.
| Enum Constant Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final MultilingualClustering.LanguageAggregationStrategy FLATTEN_ALL
public static final MultilingualClustering.LanguageAggregationStrategy FLATTEN_MAJOR_LANGUAGE
public static final MultilingualClustering.LanguageAggregationStrategy FLATTEN_NONE
| Method Detail |
|---|
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 name
NullPointerException - if the argument is nullpublic String toString()
toString in class Enum<MultilingualClustering.LanguageAggregationStrategy>
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||