@API(type=NOT_EXTENDABLE, src=PUBLIC) public class SpellCheckingProblemInfoWithSuggestions extends SpellCheckingProblemInfo
Constructor and Description |
---|
SpellCheckingProblemInfoWithSuggestions(int startOffset,
int endOffset,
java.lang.String lang,
java.lang.String word,
java.util.List<java.lang.String> suggestions)
Create spell checking result information for a word.
|
getEndOffset, getErrorCode, getLanguageIsoName, getStartOffset, getSuggestions, getWord, toString
public SpellCheckingProblemInfoWithSuggestions(int startOffset, int endOffset, java.lang.String lang, java.lang.String word, java.util.List<java.lang.String> suggestions)
startOffset
- The start offset of the word.endOffset
- The end offset of the word.lang
- ISO Name for the language of the word.word
- The word found at the offsets.suggestions
- List of suggestions, should not be null.© Copyright Syncro Soft SRL 2002 - 2021. All rights reserved.