1 MySpell is a simple spell checker that uses affix
2 compression and is modelled after the spell checker
5 MySpell was written to explore how affix compression
8 The Main features of MySpell are:
10 1. written in C++ to make it easier to interface with
11 Pspell, OpenOffice, AbiWord, etc
13 2. it is stateless, uses no static variables and
14 should be completely reentrant with almost no
17 3. it tries to be as compatible with ispell to
18 the extent it can. It can read slightly modified
19 versions of munched ispell dictionaries (and it
20 comes with a munched english wordlist borrowed from
21 Kevin Atkinson's excellent Aspell.
23 4. it uses a heavily modified aff file format that
24 can be derived from ispell aff files but uses
25 the iso-8859-X character sets only
27 5. it is simple with *lots* of comments that
28 describes how the affixes are stored
29 and tested for (based on the approach used by
32 6. it supports improved suggestions with replacement
33 tables and ngram-scoring based mechanisms in addition
34 to the main suggestion mechanisms
36 7. like ispell it has a BSD license (and no
39 But ... it has *no* support for adding words
40 to a personal dictionary, *no* support for converting
41 between various text encodings, and *no* command line
42 interface (it is purely meant to be a library).
44 It can not (in any way) replace all of the functionality
45 of ispell or aspell/pspell. It is meant as a learning
46 tool for understanding affix compression and for
47 being used by front ends like OpenOffice, Abiword, etc.
49 MySpell has been tested under Linux and Solaris
50 and has the world's simplest Makefile and no
53 It does come with a simple example program that
54 spell checks some words and returns suggestions.
56 To build a static library and an example
57 program under Linux simply type:
59 tar -zxvf myspell.tar.gz
63 To run the example program:
64 ./example ./en_US.aff ./en_US.dic checkme.lst
66 Please play around with it and let me know
69 Please see the file CONTRIBUTORS for more info.