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

NAME

6       Enchant - a spellchecker
7

SYNOPSIS

9       enchant-2 [-a] [-d dict] [-h] [-l] [-L] [-v]
10

DESCRIPTION

12       Enchant is an ispell-compatible spellchecker.
13
14   OPTIONS
15       -a     List suggestions in ispell pipe mode format.
16
17       -d DICTIONARY
18              Use the given dictionary.
19
20       -h     Show short help.
21
22       -l     List only the misspellings.
23
24       -L     Include the line number in the output.
25
26       -v     Prints the program's version.
27

ENCHANT ORDERING FILE

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

FILES AND DIRECTORIES

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

SEE ALSO

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

AUTHOR

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