getSuggestions

Gather correction suggestions for a word.

Combines word-level and (for misspelled input) sentence-level Suggestions, de-duplicates them case-insensitively, and matches each suggestion's capitalization to the source word.

Return

The combined, de-duplicated suggestions; empty when no spellChecker is configured.

Parameters

word

The word to look up suggestions for.