public static enum ConceptSimilarityService.SimilarityMetricEnum extends Enum<ConceptSimilarityService.SimilarityMetricEnum>
Enum Constant and Description |
---|
INTRINSIC_LCH |
INTRINSIC_LIN |
INTRINSIC_PATH |
INTRINSIC_RADA |
JACCARD |
LCH |
LIN |
PAGERANK |
PATH |
RADA |
SOKAL |
WUPALMER |
Modifier and Type | Method and Description |
---|---|
boolean |
isCorpusIC()
is this measure based on corpus IC?
|
boolean |
isIntrinsicIC()
is this measure based on intrinsic IC?
|
boolean |
isTaxonomy()
is this measure taxonomy based?
|
static ConceptSimilarityService.SimilarityMetricEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConceptSimilarityService.SimilarityMetricEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConceptSimilarityService.SimilarityMetricEnum LCH
public static final ConceptSimilarityService.SimilarityMetricEnum INTRINSIC_LCH
public static final ConceptSimilarityService.SimilarityMetricEnum LIN
public static final ConceptSimilarityService.SimilarityMetricEnum INTRINSIC_LIN
public static final ConceptSimilarityService.SimilarityMetricEnum PATH
public static final ConceptSimilarityService.SimilarityMetricEnum INTRINSIC_PATH
public static final ConceptSimilarityService.SimilarityMetricEnum JACCARD
public static final ConceptSimilarityService.SimilarityMetricEnum SOKAL
public static final ConceptSimilarityService.SimilarityMetricEnum RADA
public static final ConceptSimilarityService.SimilarityMetricEnum INTRINSIC_RADA
public static final ConceptSimilarityService.SimilarityMetricEnum WUPALMER
public static final ConceptSimilarityService.SimilarityMetricEnum PAGERANK
public static ConceptSimilarityService.SimilarityMetricEnum[] values()
for (ConceptSimilarityService.SimilarityMetricEnum c : ConceptSimilarityService.SimilarityMetricEnum.values()) System.out.println(c);
public static ConceptSimilarityService.SimilarityMetricEnum 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 boolean isTaxonomy()
public boolean isIntrinsicIC()
public boolean isCorpusIC()
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.