public static enum DISCO.SimilarityMeasure extends java.lang.Enum<DISCO.SimilarityMeasure>
Enum Constant and Description |
---|
COSINE
The well-known cosine vector similarity measure.
|
KOLB
The vector similarity measure described in the paper Experiments on the difference
between semantic similarity and relatedness.
|
Modifier and Type | Method and Description |
---|---|
static DISCO.SimilarityMeasure |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DISCO.SimilarityMeasure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DISCO.SimilarityMeasure COSINE
public static final DISCO.SimilarityMeasure KOLB
public static DISCO.SimilarityMeasure[] values()
for (DISCO.SimilarityMeasure c : DISCO.SimilarityMeasure.values()) System.out.println(c);
public static DISCO.SimilarityMeasure valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null