Jump to content

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


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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.