Re: spell checker

From: Date: Thu, 09 Aug 2001 08:33:22 +0000
Subject: Re: spell checker
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-62055@lists.php.net to get a copy of this message
Running a spell-checker and highlighting problems with a web-interface for the original author to decide what to do is probably the ideal middle ground... It's not a trivial HTML/browser interface to write, but it shouldn't kill you to do it. If you don't have pspell/aspell/ispell/uspell/weallspell compiled in, you *MIGHT* be able to compile it dynamically and use dl() to load it, if your ISP was not competent enough to turn that off... At least, I *think* that's a true statement... -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: Michael Hall <admin@mulga.com.au> Newsgroups: php.general To: <php-general@lists.php.net> Sent: Monday, August 06, 2001 12:02 AM Subject: Re: [PHP] spell checker > Justin: > > IMHO it would be very difficult to build/use a reliable > spell checker that worked automatically. Natural languages are just too complex > and ambiguous. Look at how often something like Word or Star Office gets things > wrong. 'Hare' is not spelled wrong unless you meant to write 'hair', for > example. And spell checkers can't deal with scrambled syntax, etc. > > Go for a human editor if you want something approaching 100% reliability. > > Mick > > > On Mon, 06 Aug 2001, Justin French wrote: > > Hi, > > > > I know this is a biggie, but has anyone attempted to write a > > spell check (preferably english) in PHP? > > > > I'd LOVE something that can spell-check user-submitted text > > somehow, becuase I'm writing a fully dynamic news-based site, > > and the only downfall to the site could be bad content, since > > it's being supplied by writers world-wide, submitted dynamically. > > > > My other option is to have an editor approve each article > > before publishing, but I thought i'd at least ASK if nyone's > > attempted it. > > > > Justin French > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > -- > Michael Hall > mulga.com.au > admin@mulga.com.au > ph/fax (+61 8) 8953 1442 > ABN 94 885 174 814

« previous php.general (#62055) next »