1ENCHANT-2(1)                General Commands Manual               ENCHANT-2(1)
2
3
4

NAME

6       Enchant - a spellchecker
7

SYNOPSIS

9       enchant-2 -a|-l|-h|-v [-L] [-d DICTIONARY] [FILE]
10

DESCRIPTION

12       Enchant is an ispell-compatible spellchecker.
13
14       -d DICTIONARY
15              use the given dictionary
16
17       -p WORDLIST
18              use the given personal wordlist
19
20       -a     list suggestions in ispell pipe mode format
21
22       -l     list only the misspellings
23
24       -L     display line numbers
25
26       -h     display help and exit
27
28       -v     display version information and exit
29

ENCHANT ORDERING FILE

31       Enchant  uses global and per-user ordering files named enchant.ordering
32       to decide which spelling provider to use for particular languages.  The
33       per-user file takes precedence.
34
35       The  ordering file takes the form language_tag:<comma-separated list of
36       spelling providers>. The language tag is an IETF BCP 47  language  tag,
37       typically  of  the form COUNTRY_LANGUAGE.  To see what dictionaries are
38       available, run enchant-lsmod-2. '*' is used to mean "use this  ordering
39       for all languages, unless instructed otherwise." For example:
40
41       *:aspell,hunspell,nuspell
42       en:aspell,hunspell,nuspell
43       en_GB:hunspell,nuspell,aspell
44       fr:hunspell,nuspell,aspell
45

FILES AND DIRECTORIES

47       Enchant looks in the following places for files, in decreasing order of
48       precedence:
49
50       ENCHANT_CONFIG_DIR
51              (If the environment variable is set.)
52
53       XDG_CONFIG_HOME/enchant (non-Windows systems)
54              Default: ~/.config/enchant
55
56       CSIDL_LOCAL_APPDATA\enchant (Windows systems)
57              Default: C:\Documents and  Settings\username\Local  Settings\Ap‐
58              plication Data\enchant
59
60       /usr/share/enchant
61              (Or  the equivalent location relative to the enchant library for
62              a relocatable build.)
63
64       Dictionaries are looked for in a subdirectory with the same name as the
65       provider;  for  example,  /usr/share/enchant/hunspell and ~/.config/en‐
66       chant/hunspell.
67
68       Some providers may also look in a standard system directory  for  their
69       dictionaries; the hunspell provider can be configured to do so at build
70       time.
71

SEE ALSO

73       aspell(1), enchant-lsmod-2(1)
74

AUTHOR

76       Written by Dom Lachowicz and Reuben Thomas.
77
78
79
80                                                                  ENCHANT-2(1)
Impressum