Close Menu
    Facebook X (Twitter) Instagram
    Command Linux
    • About
    • How to
      • Q&A
    • OS
      • Windows
      • Arch Linux
    • AI
    • Gaming
      • Easter Eggs
    • Statistics
    • Blog
      • Featured
    • MORE
      • IP Address
      • Man Pages
    • Write For Us
    • Contact
    Command Linux
    Home - man page - ENCHANT

    ENCHANT

    WillieBy WillieFebruary 17, 2026Updated:April 18, 2026No Comments2 Mins Read
     

    NAME

    Enchant – a spellchecker  

    SYNOPSIS

    enchant [-a] [-d dict] [-h] [-l] [-L] [-v]
     

    DESCRIPTION

    Enchant is an ispell-compatible spellchecker.  

    OPTIONS

    -a
    List suggestions in ispell pipe mode format.
    -d dict
    Use dictionary <dict>.
    -h
    Show short help.
    -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.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:<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/  

    Willie
    • Website

    Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.

    Related Posts

    NTFS-3G

    April 21, 2026

    CAT

    April 21, 2026

    RPCBIND

    April 21, 2026

    SYSCTL

    April 21, 2026
    Top Posts

    Lightdm: Display Manager For Linux

    December 10, 2025

    NC

    January 16, 2026

    How To Get Tether TRC20 (USDT): Options And Profitable Purchase For US Dollars (USD)

    March 2, 2026

    Object Storage Deployment on Linux Platforms Statistics 2026

    March 13, 2026
    • Home
    • Contact Us
    • Privacy Policy
    • Terms of Use

    Type above and press Enter to search. Press Esc to cancel.