Interface: SuggestOptions
Defined in: packages/cspell-dictionary/dist/SpellingDictionary/SuggestOptions.d.ts:2
Properties
compoundMethod?
optionalcompoundMethod:CompoundWordsMethod
Defined in: packages/cspell-dictionary/dist/SpellingDictionary/SuggestOptions.d.ts:7
Compounding Mode.
NONE is the best option.
ignoreCase?
optionalignoreCase:boolean
Defined in: packages/cspell-dictionary/dist/SpellingDictionary/SuggestOptions.d.ts:20
Allow for case-ingestive checking.
includeTies?
optionalincludeTies:boolean
Defined in: packages/cspell-dictionary/dist/SpellingDictionary/SuggestOptions.d.ts:26
If multiple suggestions have the same edit / change "cost", then included them even if
it causes more than numSuggestions to be returned.
Default
false
numChanges?
optionalnumChanges:number
Defined in: packages/cspell-dictionary/dist/SpellingDictionary/SuggestOptions.d.ts:16
Max number of changes / edits to the word to get to a suggestion matching suggestion.
numSuggestions?
optionalnumSuggestions:number
Defined in: packages/cspell-dictionary/dist/SpellingDictionary/SuggestOptions.d.ts:12
The limit on the number of suggestions to generate. If allowTies is true, it is possible
for more suggestions to be generated.
timeout?
optionaltimeout:number
Defined in: packages/cspell-dictionary/dist/SpellingDictionary/SuggestOptions.d.ts:30
Maximum amount of time in milliseconds to allow for generating suggestions.