RE: [PHP] Configuring PHP to use aspell
| From: | Chris W. Parker | Date: | Mon, 11 Aug 2003 16:33:54 +0000 |
| Subject: | RE: [PHP] Configuring PHP to use aspell | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-159148@lists.php.net to get a copy of this message | ||
daniel@electroteque.org <mailto:daniel@electroteque.org>
on Saturday, August 09, 2003 6:20 PM said:
> talking of aspell how could i intergrate this into a search engine,
> so i could correct typos in a search ?
Well actually I did this with a shopping cart application I'm building
right now. But the code is not nearly modular enough to send it around.
So here is a link to the class I used: (should get you started)
(watch wrap)
http://simon.incutio.com/demos/spellcheck/SpellChecker.class.php.txt
Let me know if you have any general questions.
I had to modify his class a bit. Take a look at his class and then email
me and I'll send my modified version.
Chris.