Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

enchant (1)

Name

enchant - a spellchecker

Synopsis

enchant [-a] [-l] [-L] [-v]

Description

ENCHANT(1)                  Enchant Mini Help File                  ENCHANT(1)



NAME
       Enchant - a spellchecker

SYNOPSIS
       enchant [-a] [-l] [-L] [-v]

DESCRIPTION
       Enchant is an ispell-compatible spellchecker.

   OPTIONS
       -a     List alternatives.

       -l     List only the misspellings.

       -L     Include the line number in the output.

       -v     Prints the program's version.

ENCHANT ORDERING FILE
       Enchant  has a global and a per-user ordering file named enchant.order-
       ing.  It lets the user specify which spelling backend to use for  indi-
       vidual 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:<comma-separated list of
       spelling backends>. I am currently aware  of  the  following  backends:
       aspell,  myspell,  ispell, uspell, hspell, voikko, and zemberek. '*' 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

DIRECTORIES IMPORTANT TO ENCHANT
       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 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 dictionaries 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.

MORE INFORMATION
       http://www.abisource.com/enchant/


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+--------------------------------+
       |ATTRIBUTE TYPE |        ATTRIBUTE VALUE         |
       +---------------+--------------------------------+
       |Availability   | library/spell-checking/enchant |
       +---------------+--------------------------------+
       |Stability      | Pass-through volatile          |
       +---------------+--------------------------------+

SEE ALSO
       aspell(1), ispell(1),

AUTHOR
        Dom Lachowicz
        WEB: http://www.abisource.com/enchant/
        MAIL: domlachowicz@gmail.com



NOTES
       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source    was    downloaded    from     https://www.abisource.com/down-
       loads/enchant/1.6.0/enchant-1.6.0.tar.gz.

       Further information about this software can be found on the open source
       community website at https://abiword.github.io/enchant/.



enchant                            July 2006                        ENCHANT(1)