suggestions

abstract suspend fun suggestions(input: String, scope: EditorSpellChecker.Scope = Scope.Word, closestOnly: Boolean = true): List<Suggestion>(source)

Suggestions for the given input. If scope == Word, input is a single token. If scope == Sentence, implementations may return suggestions that include whitespace (e.g., "in the"). Implementations that can't do sentence-level can ignore it or approximate.