Jump to content

Is it possible to do a MySQL search even if the word is misspelled?


suttercain

Recommended Posts

I've noticed a few people have made mention of the Soundex php function...

My personal dealings with it have been rather small as its accuracy is well....low..... it measures only the first two syllables.

 

I have seen the Metaphone function do a much better job...

 

But by the looks of you posts, you want an in house solution (as in an all MySQL solution) for this problem.... and to date, there really only is the like statement that has the same type of speed as normal parsing, you could couple it with the Soundex or Metaphone functions for a very decent result...

better idea is not to try and match the flaw, but to repair the flaw.  Create a dictionary/spell checker and then say did you mean this like google does.  Lotta work, but might already be completed, or there could be text libraries out there to use.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.