LibSpell

This project is abandoned and its default file will likely not work with the most recent version of World of Warcraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

Library that provides spell checking and correction suggestions. Pass the library a word and it can tell you whether or not it is correctly spelled, and suggest replacements if it isn't.

How to use

Because LibSpell's dictionaries are very large, each language is packaged separately. Anyone wishing to query LibSpell from their addon should add it as an OptionalDependency and check if it is present before querying. Due to the size of the embedded dictionaries, LibSpell should not be embedded inside addons, and authors of these addons should instead direct their users to install the appropriate language version of LibSpell as a standalone addon


How to download

Select your language

Only English is available at this time, select v1.02Beta from the file list


Public methods

LibSpell:Check(theWord) - returns boolean true if supplied word is correctly spelled, and boolean false if supplied word is not.

LibSpell:Suggest(theWord) - returns unpacked list of up to 8 words that are suggested as replacements for the supplied misspelled word.


ToDo

Build other languages into correct format for LibSpell

Credits

The english dictionary in this addon is derived from Firefox's English Dictionary, by Mark Tyndall and David Bartlett

The spelling suggestion code is based on Hunspell, the spell checker built into Firefox and OpenOffice.org


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    15344
  • Created
    Oct 11, 2008
  • Last Released File
    Never
  • Total Downloads
    900
  • License

Categories

Members

Recent Files

WoW Retail