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>. To see what providers are available, run  enchant-
37       lsmod-2.  '*' is used to mean "use this ordering for all languages, un‐
38       less instructed otherwise." For example:
39
40       *:aspell,hunspell,nuspell
41       en:aspell,hunspell,nuspell
42       en_GB:hunspell,nuspell,aspell
43       fr:hunspell,nuspell,aspell
44

FILES AND DIRECTORIES

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

SEE ALSO

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

AUTHOR

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