469,926 Members | 1,533 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,926 developers. It's quick & easy.

What is the best open source spell check / grammar library?

MMcCarthy
14,534 Expert Mod 8TB
Hey guys,

I'm looking for a library to sugggest to the developers to help curb spelling and grammar mistakes, any suggestions would be appreciaited :)

Mary
Sep 23 '10 #1
6 11635
gits
5,390 Expert Mod 4TB
never used such a lib but there are some mentioned here ... perhaps someone has experiences with one of those?
Sep 24 '10 #2
acoder
16,027 Expert Mod 8TB
I've used Aspell via PHP and it works well.

So, what you can do is use Ajax to call the PHP script that checks the spelling.

Relatively speaking, grammar checking is a lot more difficult. Here's one example which you can wrap in PHP and use similar to the spell checking.

I know the question was about JavaScript examples, but really, it'd be very difficult to have a pure JavaScript spell/grammar checking solution because of the amount of data to download.

One final thought: many browsers now have built-in spell checkers.
Sep 27 '10 #3
gits
5,390 Expert Mod 4TB
was it really a question for a javascript solution? ... i wasn't aware of that - and i really think that this would be a kind of javascript-page-overkill ...

besides the browser's spellcheck which probably should be enough - i thought that it would be quite simple to use a serverside spellcheck with an ajax-call before commiting a post ... perhaps together with a required user action like a 'spellcheck'-button or similar
Sep 28 '10 #4
Nicodemas
164 Expert 100+
I'd definitely suggest a server-side solution as opposed to JavaScript, unless the suggestion is to pass off the content of a web element to a server-side script via AJAX.

Just my two cents on that small matter of the discussion.
Sep 29 '10 #5
acoder
16,027 Expert Mod 8TB
Just to clarify, I wasn't suggesting a JavaScript solution. Far from it. It's just that this has been posted in the JavaScript forum, so perhaps the OP (and others) may not be aware how difficult and infeasible it'd be. This little side discussion should make that pretty clear now.

As I've stated, if you want a client-side solution (on the same page without unloading the page), use Ajax (let the server-side code do the work).
Sep 30 '10 #6
Markus
6,050 Expert 4TB
http://aspell.net/
Oct 14 '10 #7

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by dave | last post: by
2 posts views Thread by USCode | last post: by
reply views Thread by pretoriano_2001 | last post: by
1 post views Thread by seberino | last post: by
3 posts views Thread by Jonashn | last post: by
2 posts views Thread by Johnny | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.