Package org.apache.lucene.search.spell
Class SuggestWord
java.lang.Object
org.apache.lucene.search.spell.SuggestWord
SuggestWord, used in suggestSimilar method in SpellChecker class.
Default sort is first by score, then by frequency.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
score
public float scorethe score of the word -
freq
public int freqThe freq of the word -
string
the suggested word
-
-
Constructor Details
-
SuggestWord
public SuggestWord()Creates a new empty suggestion with null text.
-