MySpell

MySpell
Stable release
3.0
Operating system Cross-platform
Type Spell checker
Website https://code.google.com/a/apache-extras.org/p/ooo-myspell/

MySpell is a spell checker that was formerly included with OOo Writer of the free OpenOffice.org office suite.

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

Background

MySpell was started by Kevin Hendricks in an attempt 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.

Locale (language) files

Every locale (language for a specific territory) can have files for spelling, hyphenation and 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 multiple locales, automatic loading of all dictionaries would cause a considerable overhead. 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.

MySpell with other programs

MySpell is currently used by other programs:

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

See also

This article is issued from Wikipedia - version of the 9/27/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.