Interface DictionaryDefinitionAlternate

Only for legacy dictionary definitions.

Deprecated

true

Deprecation Message

Use DictionaryDefinitionPreferred instead.

interface DictionaryDefinitionAlternate {
    description?: string;
    file: string;
    name: string;
    noSuggest?: boolean;
    repMap?: ReplaceMap;
    type?: DictionaryFileTypes;
    useCompounds?: boolean;
}

Hierarchy (view full)

Properties

description?: string

Optional description.

file: string

Path to the file, only for legacy dictionary definitions.

Deprecated

true

Deprecation Message

Use path instead.

name: string

This is the name of a dictionary.

Name Format:

  • Must contain at least 1 number or letter.
  • Spaces are allowed.
  • Leading and trailing space will be removed.
  • Names ARE case-sensitive.
  • Must not contain *, !, ;, ,, {, }, [, ], ~.
noSuggest?: boolean

Indicate that suggestions should not come from this dictionary. Words in this dictionary are considered correct, but will not be used when making spell correction suggestions.

Note: if a word is suggested by another dictionary, but found in this dictionary, it will be removed from the set of possible suggestions.

repMap?: ReplaceMap

Replacement pairs.

Type of file:

  • S - single word per line,
  • W - each line can contain one or more words separated by space,
  • C - each line is treated like code (Camel Case is allowed).

Default is S.

C is the slowest to load due to the need to split each line based upon code splitting rules.

Default

"S"
useCompounds?: boolean

Use Compounds.