Skip to main content

Function: createSpellingDictionary()

createSpellingDictionary(wordList, name, source, options?): SpellingDictionary

Defined in: packages/cspell-dictionary/dist/SpellingDictionary/createSpellingDictionary.d.ts:11

Create a SpellingDictionary

Parameters

wordList

list of words

readonly string[] | IterableLike<string>

name

string

name of dictionary

source

string

filename or uri

options?

SpellingDictionaryOptions

dictionary options

Returns

SpellingDictionary

a Spelling Dictionary