User Commands enchant(1)
NAME
enchant - a spell checker
SYNOPSIS
enchant [-a] [-d dictionary] [-l] [-L] [-v] [file]
DESCRIPTION
enchant is an ispell-compatible spellchecker.
OPTIONS The following options are supported:-a List alternatives.
-d dictionary Uses the specified dictionary.
-l List only the misspellings.
-L Include line numbers in the output.
-v Displays version information.
OPERANDS The following operands are supported: file The text file to be checked. If this parameter is not specified, then standard input is used. FILES The following files are used by this application:enchant.ordering; Enchant has a global and a per-
user ordering file namedenchant.ordering. It lets the user
specify which spelling backend to use for individual languages in the case when you care which backend gets used. The global file islocated in $(datadir)/enchant and
SunOS 5.11 Last change: 30 Jul 2008 1
User Commands enchant(1)
the per-user file is located in
~/.enchant. The per-user file takes
precedence, if found. The ordering file takes theform language_tag:. Currently it
supports following backends: aspell, myspell, ispell, uspell, hspell.The comma-separated list may not
include spaces. '*' is used to mean "use this ordering for alllanguages, unless instructed other-
wise." For example: *:aspell,myspell,ispell en:aspell,myspell,ispellen_UK:myspell,aspell,ispell
fr:myspell,ispell:aspellATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:______________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_______________________________|
| Availability | library/spell-checking/enchant|
|_____________________________|_______________________________|
| Interface stability | Volatile ||_____________________________|_______________________________|
SEE ALSO
enchant-lsmod(1), libenchant(3), attributes(5)
NOTES Unless configured otherwise, Enchant's Myspell, Ispell, and Uspell backends will look for dictionaries in directoriesspecific to Enchant, and will not use your system-wide
installed dictionaries. This is for pragmatic reasons since many distributions install these dictionaries into different locations.Like the enchant.ordering file described above, Enchant
looks in the global directory for these dictionaries and aper-user directory. The per-user directory takes precedence
if it is found. Enchant looks for Myspell dictionaries in$(datadir)/enchant/myspell and ~/.enchant/myspell. Enchant
looks for Ispell dictionaries in $(datadir)/enchant/ispell
and ~/.enchant/ispell. Enchant looks for Uspell dic-
SunOS 5.11 Last change: 30 Jul 2008 2
User Commands enchant(1)
tionaries in $(datadir)/enchant/uspell and
~/.enchant/uspell.
Packagers and users may wish to make symbolic links to thesystem-wide dictionary directories. Or, preferably, use the
--with-myspell-dir, --with-ispell-dir, and --with-uspell-dir
'configure' arguments. Written by Jeff Cai, Sun Microsystems Inc., 2009.SunOS 5.11 Last change: 30 Jul 2008 3