SpellCheckError
Inheritance: java.lang.Object
public class SpellCheckError
Representing misspelled word with additional data.
Constructors
Constructor | Description |
---|---|
SpellCheckError() |
Fields
Field | Description |
---|---|
word | The word being misspelled. |
startPosition | Word’s position in the input text. |
length | Misspelled word’s length in the input text. |
suggestedWords | list of objects with suggested correct spellings |
SpellCheckError()
public SpellCheckError()
word
public String word
The word being misspelled.
startPosition
public int startPosition
Word’s position in the input text.
length
public int length
Misspelled word’s length in the input text.
suggestedWords
public List<SpellCheck.SuggestedWord> suggestedWords
list of objects with suggested correct spellings