24. February 2013 08:08
Spell checkers on the web are dying. Most modern browsers detect spelling mistakes for you, HOWEVER, there are some circumstances where it still makes sence to have them. Take the following word:
- this is “a lung disease caused by the inhalation of very fine silica dust, causing inflammation in the lungs.” Another term for the same condition is silicosis.
Spell checkers are not going to pick that word up, sure you could add it to the dictionary, but what if you work in a field where those types of words come up all of the time. That is where custom dictionaries come into play.
Another issue is IE9, I know what your saying, "Why are you using IE?" First, I am not, but my users are and they want spell check too. I found a very nice implementation of a JQuery Spell checker, that even plugs into Tiny MCE (also in the example) written by Richard Willis at https://github.com/badsyntax/jquery-spellchecker.
Unfortunately the backend is written in PHP. So I found another port of the PHP code to .net written by Jack Yang https://github.com/jackmyang/jQuery-Spell-Checker-for-ASP.NET. Unfortunately, this supported an older version of the spell check library but failed on the new version. Also it only supported the google spell checker which had some limitations.
So long story short, I rewrote it to support .NET. You can find it here:
Hope it helps others looking for a spell checker.
EDIT AS OF 2/28
I have refactored the code to make it easier to add new spell check libraries. You can still find it at the same location.