Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

enchant(1) [opensolaris man page]

enchant(1)							   User Commands							enchant(1)

enchant - a spell checker. SYNOPSIS
enchant [-a] [-l] [-L] [-v] [filename] DESCRIPTION
Enchant is an ispell-compatible spellchecker. OPTIONS
The following options are supported: -c List alternatives. -l List only the misspellings. -L Include the line number in the output. -v Prints the program's version. FILES
The following files are used by this application: enchant.ordering; Enchant has a global and a per-user ordering file named enchant.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 is located in $(datadir)/enchant and the per-user file is located in ~/.enchant. The per-user file takes precedence, if found. The ordering file takes the form 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 all languages, unless instructed otherwise." For example: *:aspell,myspell,ispell en:aspell,myspell,ispell en_UK:myspell,aspell,ispell fr:myspell,ispell:aspell ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-spell | +-----------------------------+-----------------------------+ |Interface stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
libenchant(3), enchant-lsmod(1), attributes(5), NOTES
Unless configured otherwise, Enchant's Myspell, Ispell, and Uspell backends will look for dictionaries in directories specific 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 a per-user direc- tory. 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- tionaries in $(datadir)/enchant/uspell and ~/.enchant/uspell. Packagers and users may wish to make symbolic links to the system-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., 2008. SunOS 5.11 30 Jul 2008 enchant(1)

Check Out this Related Man Page


installdeb-myspell - debhelper-like helper for Debian packages containing myspell/hunspell dictionaries or thesauri/hyphenation files. SYNOPSIS
installdeb-myspell [--srcdir=dir] [--dico-debug] [--{no-}o2compat] [debhelper options] DESCRIPTION
installdeb-myspell is a debhelper like program to help installing myspell/hunspell dicts as well as thesauri or hyphenation files, after contents of an info-myspell file whose format is that for old 2. This needs the --srcdir option enabled. If in o2 compatibility mode, it will also install appropriate debhelper snippets, info file and compatibility symlinks in a way a package containing myspell/hunspell dictionaries or thesauri or hyphenation files can be used in Debian lenny and former under 2 and Mozilla* according to the dictionaries policy valid at that time. Note that unless --srcdir option is used or o2compat mode is enabled, this program will do nothing. For more details, see /usr/share/doc/dictionaries-common/dsdt-policy.txt. The actions executed by installdeb-myspell are the following (only some of them are done if not in o2 compatibility mode): Maintainer Scripts installdeb-myspell installs the necessary scraps of code in the postinst and postrm scripts. Language info file installdeb-myspell will look for a file named debian/info-myspell or debian/ That file contains myspell/hunspell dictionary, OOO thesauri or hyphenation information with lines like TYPE LANG COUNTRY NAME If this file is successfully parsed and the o2compat option is enabled, it is installed in the [tmpdir]/usr/share/myspell/infos/ooo directory. A typical info-myspell file for a myspell/hunspell dictionary will contain something like # Spanish variants DICT es ES es_ES DICT es AR es_ES ... while will, for a typical hyphenation file, be something like # Danish hyphenation HYPH da DK hyph_da_DK or for a sample thesaurus, THES en US th_en_US all with no leading whitespace. Commented lines are allowed. Dictionary, thesaurus and hyphenation files installation If the --srcdir=dir option is set installdeb-myspell will look for the .aff/.dic files in the directory specified by dir and install them in the default target directory ([tmpdir]/usr/share/hunspell). Base name will be extracted from the info-myspell file (last string in the line). If target dict uses the ancient Mozilla hyphen form, it will be renamed to the lowbar form on installation. Same (but the renaming) for hyphenation and thesaurus files, to be installed in [tmpdir]/usr/share/hyphen and [tmpdir]/usr/share/mythes. If o2compat option is enabled, lenny compatibility symlinks will be installed as well. Dictionaries alternative symlinks creation installdeb-myspell will, according to info extracted from the info-myspell, automatically set lang_COUNTRY symlinks to the dict files installed by installdeb-myspell. This will only be done when the --srcdir option is used. If --srcdir option is used and the info-myspell file contains something like # Spanish variants DICT es ES es DICT es AR es ... installdeb-myspell will automatically set es_ES and es_AR symlinks Mozilla spellchecker compatibility For myspell/hunspell dictionaries, Mozilla had a lang{,-COUNTRY} to names translation table using hyphens as separators (and for some languages not using country part at all) instead of lowbars. Shortly, that will no longer be the case. Mozilla will also accept lang_COUNTRY format for that translation table, no special things will be needed. In particular, do not duplicate entries in both lowbar and hyphen forms. Use lowbar. Debconf files As opposed to installdeb-ispell and installdeb-wordlist, installdeb-myspell does nothing related to debconf files, not needed for myspell/hunspell dicts and OOO thesauri and hyphenation files. If you need to add debconf stuff with debhelper proceed in the usual way and call dh_installdebconf(1) as for any other package. OPTIONS
--dico-debug Show some installdeb-myspell specific debugging info. Does not enable debhelper debug, you need to enable it separately. --srcdir=dir Will look for .aff/.dic files in the specified directory for myspell/hunspell dict packages, for .dic files in hyphenation packages and for .dat/.idx files in thesaurus packages, installing them if present in the default target directory. Base name will be extracted from the info-myspell file. If this option is specified and files are not present an error will appear. --{no-}o2compat Disable/enable openoffice2 compatibility. If enabled, info file will be installed in [tmpdir]/usr/share/myspell/infos/ooo and compatibility symlinks will be set from the old [tmpdir]/usr/share/myspell/dicts location. This option is disabled by default. --dico-{no-}alt-links {Process/Do not process} alternative symlinks according to info found in the myspell info file. The usual debhelper(7) options are accepted. NOTES
This program is not part of debhelper, although depends on and is intended to work together with it. SEE ALSO
debhelper(7) This program is part of the dictionaries-common-dev package. It is intended for use by maintainers of packages containing myspell/hunspell dictionaries or thesauri/hyphenation files. See the documentation under /usr/share/doc/dictionaries-common-dev. AUTHORS
Rafael Laboissiere <>, Agustin Martin <> 1.12.11 2013-1-22 INSTALLDEB-MYSPELL(1)
Man Page