-
kp-spell
kp-spell
kp-spell provides Finnish and Swedish spell-checking on CSC systems. While it is
used through the command-line tools of
enchant-2 — a generic library that offers a
single interface to several spelling backends — kp-spell is more than plain
enchant: it bundles the language-specific backends and dictionaries needed for
Finnish (via Voikko) and Swedish (via
Hunspell) and exposes them through the common
enchant-2 interface.
Available
- Puhti: 1.0
- Roihu: 1.0
License
kp-spell builds on enchant, which is licensed under the LGPL 2.1 or later, together with the Voikko and Hunspell backends and their dictionaries, which have their own open-source licenses.
Usage
Initialize kp-spell with:
Spell-checking is done with enchant-2, and enchant-lsmod-2 lists the
available dictionaries. Use the language code with -d (fi for Finnish, sv
for Swedish). For example, to check Finnish text in ispell pipe mode:
This returns spelling suggestions in ispell format, for example:
A personal word list can be supplied with the -p option.