public static enum WordBreakSpellChecker.BreakSuggestionSortMethod extends Enum<WordBreakSpellChecker.BreakSuggestionSortMethod>
Determines the order to list word break suggestions
Enum Constant and Description |
---|
NUM_CHANGES_THEN_MAX_FREQUENCY
Sort by Number of word breaks, then by the Maximum of all the component
term's frequencies
|
NUM_CHANGES_THEN_SUMMED_FREQUENCY
Sort by Number of word breaks, then by the Sum of all the component
term's frequencies
|
Modifier and Type | Method and Description |
---|---|
static WordBreakSpellChecker.BreakSuggestionSortMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WordBreakSpellChecker.BreakSuggestionSortMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WordBreakSpellChecker.BreakSuggestionSortMethod NUM_CHANGES_THEN_SUMMED_FREQUENCY
Sort by Number of word breaks, then by the Sum of all the component term's frequencies
public static final WordBreakSpellChecker.BreakSuggestionSortMethod NUM_CHANGES_THEN_MAX_FREQUENCY
Sort by Number of word breaks, then by the Maximum of all the component term's frequencies
public static WordBreakSpellChecker.BreakSuggestionSortMethod[] values()
for (WordBreakSpellChecker.BreakSuggestionSortMethod c : WordBreakSpellChecker.BreakSuggestionSortMethod.values()) System.out.println(c);
public static WordBreakSpellChecker.BreakSuggestionSortMethod 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 nullCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.