MySpell

From Wikipedia, the free encyclopedia

MySpell was the former spell checker included with OOo Writer of the free OpenOffice.org office suite.

Since version 2.0.2 OpenOffice.org has replaced MySpell with Hunspell.

Contents

[edit] Background

MySpell was started by Kevin Hendricks to integrate various open source spelling checkers into the OpenOffice.org build. With a little prodding from Kevin Atkinson, the author of Pspell and Aspell, a new spelling checker (MySpell) was written in C++ that supported affix compression, based on Ispell.

[edit] Locale (language) Files

Every locale (language for a specific territory) can have files for spelling, hyphenation and for a thesaurus. These files will be all found together in one folder. The spell checking is done using the .aff file for the locale together with the .dic file. The .dic file is a list of words along with a group of letters which refer to the affixes found in the .aff file. This saves space because instead of having include all forms of a word, like jump (jumping, jumps, jumped), the .dic file will include the word once and the references to the affixes in the .aff file allow the construction of all the other forms.

It is not enough to copy the files for a locale into the folder. As there are a huge number of locales there would be a considerable overhead if the dictionaries for every locale was automatically loaded. Hence only those locales listed in dictionary.lst are accessible. dictionary.lst can be edited with a simple text editor but front ends provide a more user friendly way of adding new locales.

[edit] MySpell with other programs

MySpell is currently used by other programs:

Aspell and Vim 7 can now use a dictionary created for MySpell.

[edit] See also

[edit] External links