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       -a     list suggestions in ispell pipe mode format
18
19       -l     list only the misspellings
20
21       -L     display line numbers
22
23       -h     display help and exit
24
25       -v     display version information and exit
26

ENCHANT ORDERING FILE

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

FILES AND DIRECTORIES

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

SEE ALSO

69       aspell(1), enchant-lsmod-2(1)
70

AUTHOR

72       Written by Dom Lachowicz and Reuben Thomas.
73
74
75
76                                                                  ENCHANT-2(1)
Impressum