[thelist] just like google spelling suggestions

Aredridel aredridel at nbtsc.org
Wed Jul 2 19:28:13 CDT 2003

On Wed, 2003-07-02 at 11:38, Chris W. Parker wrote:
> Hi.
> I am working on the search engine aspect of a shopping car that I'm writing and I would like to be able to make spelling suggestions. How can I do that?
> For example, if someone were to type "amror" they would get zero results. It would be great if I could suggest they search for "armor" instead.

Check out /usr/dict/words on your redhat machine and the levenstein
function in PHP.  Some combination of those should get you started.


More information about the thelist mailing list