public enum SuggestionStrategy extends Enum<SuggestionStrategy>
Enum Constant and Description |
---|
OCR
Suggestion strategy for correcting errors in text produced by
optical character recognition software.
|
TYPO
Suggestion strategy for correcting human typing errors.
|
Modifier and Type | Method and Description |
---|---|
int |
getId() |
static SuggestionStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SuggestionStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SuggestionStrategy TYPO
public static final SuggestionStrategy OCR
public static SuggestionStrategy[] values()
for (SuggestionStrategy c : SuggestionStrategy.values()) System.out.println(c);
public static SuggestionStrategy 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 int getId()
Copyright © 2016 Voikko developers. All rights reserved.