Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Spellchecking Form Elements

by CodeJunkie (Monk)
on Apr 08, 2003 at 16:04 UTC ( #248982=perlquestion: print w/replies, xml ) Need Help??

CodeJunkie has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,
Can anyone shed any light on modules that can spell check form elements, i.e. text boxes and textareas?

In my search so far I have found a module called Lingua::Ispell which uses a program called Ispell. I've also heard about Aspell But I don't know if there is a module that works with this.

Basically I was wondering is anyone had any opinions or thoughts about spell checking within Perl CGI scripts?


Replies are listed 'Best First'.
Re: Spellchecking Form Elements
by valdez (Monsignor) on Apr 08, 2003 at 17:32 UTC

    Few days ago on mod_perl mailing list there was an announce about Mason-CM, which includes a spell checker built with ispell. You may find that code interesting for your needs.

    HTH, Valerio

Re: Spellchecking Form Elements
by The Mad Hatter (Priest) on Apr 08, 2003 at 21:44 UTC
    A few months back when writing my own message board system (see my homenode if you're interested) I ran across the same problem. I eventually found the open source LiveJournal code that includes a module (LJ::SpellCheck) for spellchecking (it's just a handy interface to any ispell/aspell-like spellchecker). It works well for my board, although I did have to modify it a little to produce output in the manner I wanted.

    Nota Bene: If you have HTML in your input, you'll probably want to filter that out before using the module.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://248982]
Approved by MrCromeDome
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2020-06-04 22:16 GMT
Find Nodes?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?

    Results (35 votes). Check out past polls.