guile aspell is a spellcheck module for Guile. GNU Guile is an implementation of Scheme, a Lisp-like computer language, and this spellcheck library provides facilites to check strings against a dictionary and to suggest alternate words. It uses functionality provided by the GNU Aspell spellcheck library.

Usage

Here is an example of using guile aspell in an interactive Guile session.

scheme@(guile-user)> (use-modules (aspell))
scheme@(guile-user)> (aspell-set-lang "en_US")
$1 = #t
scheme@(guile-user)> (aspell-word "tommorow")
$2 = ("tomorrow" "tomorrows" "Tommie" "Morrow" "Timor"
"morrow" "tomorrow's" "timorous" "Moro" "Romero" "Tommie's" "Tommy" "tumor"
"tumorous" "Moore" "tremor" "Murrow" "marrow" "tomboy" "tumors" "Tamara"
"Tamera" "tome" "trimmer" "tumor's" "Tom" "tom" "tomb" "tearoom")
scheme@(guile-user)> (aspell-correct? "tomorrow")
$3 = #t

The full documentation is available:

Installation

guile-aspell is freely available for download. It is licensed using the terms in the GNU General Public License version 3 (GPLv3).

To install from source code, download the latest compressed file archive and unpack it.

Then run the usual configure sequence.

$ ./configure
$ make
$ sudo make install
	  

Development

The git repository for this project is at github.com/spk121/guile-aspell