Add spellcheck to my site

I have an asp based website that I would like to add to the textarea functions on the page. Most pages are generated from the engine, although I can add JavaScript to them. Therefore, my preferred solution is based on JavaScript. I tried JavaScriptSpellCheck and it works fine, although I would like to see what some of my other options might be. I also found spellchecker.net , but at $ 3,500 for a server license this seems excessive.

Spellchecking can be in a separate window and should support several languages ​​(the more the better). Ultimately, I would like to send the spellchecker to the collection or separator string of the text area or identifier names (preferably the names, as they already exist on the pages), and ask them to check everything by updating the text when the spelling correction is corrected.

+2
javascript asp-classic spell-checking
Dec 21 '09 at 15:59
source share
5 answers
+2
Dec 21 '09 at 16:06
source share

If I'm not mistaken, the Firefox English Spell Checker takes about 800 KB of data.

If you like to do everything in javascript for a full-featured spellchecker, then its value, you should download this 800 KB data on each Loads page. This is really not a good idea.

So, instead of doing it in javascript, send the data to the server using ajax and check it on the server side and return it back. This is the best way.

+1
Dec 21 '09 at 16:10
source share

If I were you, I would look something like aspell - it is used as one of the supported spelling backends in tinima. Personally, I use pspell because it is integrated into PHP.

EDIT

Theres aspell integration here , which has a php or perl / cgi version, might be worth checking out

+1
Dec 21 '09 at 16:35
source share

Here is the free open source Javascript library for spell checking I created:

https://github.com/LPology/Javascript-PHP-Spell-Checker

There is a link to a live demo at the top. It is intended for checking spelling in a desktop text editor. I wrote this after you were not happy with the same options.

To use, simply include the JS and CSS files in your page, and then add the following:

var checker = new sc.SpellChecker( button: 'spellcheck_button', // opens the spell checker when clicked textInput: 'text_box', // HTML field containing the text to spell check action: '/spellcheck.php' // URL of the server side script ); 

It includes a PHP script for spell checking, but it can be easily ported to another language if it returns the correct JSON response.

+1
Apr 12 '13 at 15:07
source share

Well, this is a pretty old question, but my answer can help people who are looking for the latest options on this.

JavaScript Spell Checker is the industry-leading javascript spelling checker plugin. This allows the developer to easily add and control spell checking in virtually any HTML environment. You can install it in about 5 minutes by copying the folder to your site.

http://www.javascriptspellcheck.com/

Also support multiple languages ​​- http://www.javascriptspellcheck.com/Internationalization_Demo

0
Mar 28 '16 at 7:54 on
source share



All Articles