Package | Description |
---|---|
org.apache.lucene.search.spell |
Suggest alternate spellings for words.
|
Modifier and Type | Method and Description |
---|---|
static WordBreakSpellChecker.BreakSuggestionSortMethod |
WordBreakSpellChecker.BreakSuggestionSortMethod.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WordBreakSpellChecker.BreakSuggestionSortMethod[] |
WordBreakSpellChecker.BreakSuggestionSortMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
private int |
WordBreakSpellChecker.generateBreakUpSuggestions(Term term,
IndexReader ir,
int numberBreaks,
int maxSuggestions,
int useMinSuggestionFrequency,
SuggestWord[] prefix,
java.util.Queue<WordBreakSpellChecker.SuggestWordArrayWrapper> suggestions,
int totalEvaluations,
WordBreakSpellChecker.BreakSuggestionSortMethod sortMethod) |
SuggestWord[][] |
WordBreakSpellChecker.suggestWordBreaks(Term term,
int maxSuggestions,
IndexReader ir,
SuggestMode suggestMode,
WordBreakSpellChecker.BreakSuggestionSortMethod sortMethod)
Generate suggestions by breaking the passed-in term into multiple words.
|