SpellCheckError

Inheritance: java.lang.Object

public class SpellCheckError

Representing misspelled word with additional data.

Constructors

ConstructorDescription
SpellCheckError()

Fields

FieldDescription
wordThe word being misspelled.
startPositionWord’s position in the input text.
lengthMisspelled word’s length in the input text.
suggestedWordslist 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