Package | Description |
---|---|
org.apache.lucene.search.spell |
Suggest alternate spellings for words.
|
Modifier and Type | Method and Description |
---|---|
static SuggestMode |
SuggestMode.valueOf(java.lang.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 |
---|---|
java.lang.String[] |
SpellChecker.suggestSimilar(java.lang.String word,
int numSug,
IndexReader ir,
java.lang.String field,
SuggestMode suggestMode)
|
java.lang.String[] |
SpellChecker.suggestSimilar(java.lang.String word,
int numSug,
IndexReader ir,
java.lang.String field,
SuggestMode suggestMode,
float accuracy)
Suggest similar words (optionally restricted to a field of an index).
|
Copyright © 2000-2023 Apache Software Foundation. All Rights Reserved.