Class SpellCheckingProblemInfoWithSuggestions


  • @API(type=NOT_EXTENDABLE,
         src=PUBLIC)
    public class SpellCheckingProblemInfoWithSuggestions
    extends SpellCheckingProblemInfo
    • Constructor Detail

      • SpellCheckingProblemInfoWithSuggestions

        public 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.
        Parameters:
        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.
        Since:
        21