public static enum BabelfyParameters.DisambiguationConstraint extends java.lang.Enum<BabelfyParameters.DisambiguationConstraint>
Enum Constant and Description |
---|
DISAMBIGUATE_ALL
Disambiguate the entire text and return the corresponding annotations
|
DISAMBIGUATE_ALL_RETURN_INPUT_FRAGMENTS
Disambiguate all the possible fragments in the input text but return annotations only for
the input fragments
|
DISAMBIGUATE_INPUT_FRAGMENTS_ONLY
Disambiguate only the input fragments and return the corresponding annotations
|
Modifier and Type | Method and Description |
---|---|
static BabelfyParameters.DisambiguationConstraint |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BabelfyParameters.DisambiguationConstraint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BabelfyParameters.DisambiguationConstraint DISAMBIGUATE_INPUT_FRAGMENTS_ONLY
public static final BabelfyParameters.DisambiguationConstraint DISAMBIGUATE_ALL_RETURN_INPUT_FRAGMENTS
public static final BabelfyParameters.DisambiguationConstraint DISAMBIGUATE_ALL
public static BabelfyParameters.DisambiguationConstraint[] values()
for (BabelfyParameters.DisambiguationConstraint c : BabelfyParameters.DisambiguationConstraint.values()) System.out.println(c);
public static BabelfyParameters.DisambiguationConstraint 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