public enum DisambiguationMethod extends Enum<DisambiguationMethod>
| Enum Constant and Description |
|---|
CategoryFrequency |
SemanticDistance |
TrainSetBased |
| Modifier and Type | Method and Description |
|---|---|
String |
getFunctionName()
Returns the label of the selected disambiguation method.
|
static DisambiguationMethod |
getMethod(String arg)
Gets the appropriate disambiguation method.
|
static DisambiguationMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DisambiguationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisambiguationMethod SemanticDistance
public static final DisambiguationMethod CategoryFrequency
public static final DisambiguationMethod TrainSetBased
public static DisambiguationMethod[] values()
for (DisambiguationMethod c : DisambiguationMethod.values()) System.out.println(c);
public static DisambiguationMethod 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 static DisambiguationMethod getMethod(String arg)
arg - The name of the disambiguation method.public String getFunctionName()
Copyright © 2016. All rights reserved.