public final class SuggestedSpelling extends java.lang.Object implements java.lang.Comparable<SuggestedSpelling>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SuggestedSpelling compared) |
int |
cost()
The cost of the transformation(s) required to change the
spell checked word to the substitution.
|
java.lang.String |
dictionaryName()
Retrieves the name of the dictionary that supplied the suggested spelling.
|
java.lang.String |
word()
The word tested.
|
public java.lang.String word()
public int cost()
public java.lang.String dictionaryName()
public int compareTo(SuggestedSpelling compared)
compareTo in interface java.lang.Comparable<SuggestedSpelling>