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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MMcCarthy
    Recognized Expert MVP
    • Aug 2006
    • 14387

    #1

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

    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
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5390

    #2
    never used such a lib but there are some mentioned here ... perhaps someone has experiences with one of those?

    Comment

    • acoder
      Recognized Expert MVP
      • Nov 2006
      • 16032

      #3
      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.

      Comment

      • gits
        Recognized Expert Moderator Expert
        • May 2007
        • 5390

        #4
        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

        Comment

        • Nicodemas
          Recognized Expert New Member
          • Nov 2007
          • 164

          #5
          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.

          Comment

          • acoder
            Recognized Expert MVP
            • Nov 2006
            • 16032

            #6
            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).

            Comment

            • Markus
              Recognized Expert Expert
              • Jun 2007
              • 6092

              #7

              Comment

              Working...