MySpell

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

MySpell
Stable release
3.0
Operating systemCross-platform
TypeSpell checker
Websitecode.google.com/a/apache-extras.org/p/ooo-myspell/

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 to 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:

  • AbiWord
  • Aegisub 2.0 can use a dictionary created for MySpell by adding AFF and DIC files to the Dictionary folder.
  • STAR Transitfr NXT, a CAT suite from the Swiss firm STAR AGde, can optionally use MySpell dictionaries for spell-checking.

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

gollark: Just directly download the FILE™™.
gollark: Or don't meddle with shell paths at all.
gollark: I would say "good job" but it isn't good.
gollark: So basically it's a really poorly disguised remote access tool.
gollark: Oh I see, there's a bit at the end.

See also

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.