On Thu, 6 Mar 2003, Doug Silver wrote: > Also have a look as 'aspell', which I found to have a more extensive > dictionary and thus suggestions for words. I also discovered that sending > stdin to it from a perl script can be quite slow (e.g. an email that has > several replies), however there's a perl module interface that I also > discovered on CPAN -- haven't implemented it yet, too busy.
I belive that's Text::Aspell. Needs the "new" GNU Aspell. Text::Aspell lets you check individual words and lookup suggestions for misspelled words. Text::Aspell is a fast interface, but one advantage of piping into Aspell or Ispell is you get back a little more info (such as the line number of the misspelled word). A bit off topic, but I have a similar need. I have a form where HTML is entered. I can easily parse out the text with HTML::Parser, and build a list of incorrectly spelled words, open in another window and show the words and a list for suggestions or a text field. I have not figured out how best to update the existing form inplace, though. I fear javascript is in my future. -- Bill Moseley [EMAIL PROTECTED]