Package | Description |
---|---|
org.apache.lucene.search.spell |
Suggest alternate spellings for words.
|
Modifier and Type | Method and Description |
---|---|
static SuggestMode |
SuggestMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SuggestMode[] |
SuggestMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
String[] |
SpellChecker.suggestSimilar(String word,
int numSug,
org.apache.lucene.index.IndexReader ir,
String field,
SuggestMode suggestMode)
|
String[] |
SpellChecker.suggestSimilar(String word,
int numSug,
org.apache.lucene.index.IndexReader ir,
String field,
SuggestMode suggestMode,
float accuracy)
Suggest similar words (optionally restricted to a field of an index).
|