public final class SuggestWord
extends Object
SuggestWord, used in suggestSimilar method in SpellChecker class.
Default sort is first by score, then by frequency.
-
-
Constructor Summary
Constructors
Creates a new empty suggestion with null text.
-
Method Summary
-
Field Details
-
score
public float score
the score of the word
-
freq
public int freq
The freq of the word
-
string
the suggested word
-
Constructor Details
-
SuggestWord
public SuggestWord()
Creates a new empty suggestion with null text.
-