enchant-1.6.0

Introduction to enchant

The enchant package provide a generic interface into various existing spell checking libraries.

This package is known to build and work properly using an LFS-7.7 systemd platform.

Package Information

enchant Dependencies

Required

GLib-2.44.1

Recommended

Optional

dbus-glib-0.104, Hspell, Hunspell, and Voikko

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/enchant

Installation of enchant

Install enchant by running the following commands:

./configure --prefix=/usr --disable-static &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

--disable-static: This switch prevents installation of static versions of the libraries.

Configuring enchant

Config Files

~/.enchant and /usr/share/enchant/enchant.ordering

Configuration Information

If you want to use the Aspell-0.60.6.1 backend, create the following symlink as the root user:

ln -sfv ../../lib/aspell /usr/share/enchant/aspell

You can test your installation and configuration by creating a test file and running the commands in the following (you can replace the en_GB dictionary by any other that was downloaded when installing Aspell-0.60.6.1):

cat > /tmp/test-enchant.txt << "EOF" &&
Tel me more abot linux
Ther ar so many commads
EOF

enchant -d en_GB -l /tmp/test-enchant.txt &&
enchant -d en_GB -a /tmp/test-enchant.txt

You will see a list of the misspelled words followed by a list of alternatives for them.

Check out the enchant(1) manual page for more details.

Contents

Installed Programs: enchant and enchant-lsmod
Installed Libraries: libenchant.so
Installed Directories: /usr/include/enchant, /usr/lib/enchant, and /usr/share/enchant

Short Descriptions

enchant

is a spellchecker

enchant-lsmod

lists available backends, languages, and dictionaries.

libenchant.so

contains spell checking interface API functions.

Last updated on 2015-08-01 04:26:22 +0000