Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Open source spell check

Was evaluating adding spell check to a product I own. As per my research the major decisions that need to be made:

  1. The library to use.
  2. Dictionary( this can be region specific, British english, American etc).
  3. Exclusion lists. Anytime a typo is detected its possible that its not a typo but is verbiage specific to the user. At this point the users should be given the ability to
    add this to his custom exclusion list.
  4. Besides a per user custom list also a list of exclusion based on the user space of the clients of the tool. That is terms/acronyms in the users work domain. For example FX will not be a typo for currency traders.

The open questions I had are listed below and if I could get input into them that would be very useful. For 1, I was thinking of hunspell, whcih is the open source library offered under MPL and is used by firefox and OpenOffice family of products. Any horror stories out there using this? Any grey areas with the licensing? The spell checking will happen on a windows client.

Dictionaries are available from a variety of sources some free under MPL while some are not. Any suggestions on good sources for free dictionaries.

Multi lingual support and what needs to be worked out to support them?

For 4, how are custom dictionaries kept in sync with the server side and the clientside? The spell check needs to happen on the clientside so are they pushed down with the initial launch everytime or are they synced up ever so often?

like image 419
HeretoLearn Avatar asked Jul 03 '09 17:07

HeretoLearn


1 Answers

As already mentioned Hunspell is a state of the art spell checker. It is the Open Office, Thunderbird, Firefox and Google Chrome spell checker. Ports to all major programming languages are available. It works with the Open Office Directories, so a lot of languages are supported.

like image 98
Thomas Maierhofer Avatar answered Nov 06 '22 22:11

Thomas Maierhofer