Portal Home > Knowledgebase > Articles Database > Spelling correction
Spelling correction
Posted by Codebird, 02-27-2008, 05:50 PM |
Hello, can anyone help me with where I can find algorithms for the spelling correction like the google did you mean: ...
thanks in advance
|
Posted by Codebird, 02-29-2008, 07:21 AM |
I don't know why didn't anybody reply I don't know if my post was unclear well what I meant is that for example try to search flowr on google when google does the search on the results page the first thing you can see is Did you mean flower. Ok I figured out that using pspell is a good thing, now I am working on integrating pspell a litte with my database. well I am thankful for any suggestion. Thanks a lot
|
Posted by raulgonzalez, 02-29-2008, 10:20 AM |
You can use the "SOUNDS LIKE" Statement in MySql.
Example:
SELECT * FROM phonelist WHERE name SOUNDS LIKE '$keyword';
It works for me most of the times and for my certain case
|
Posted by Codebird, 02-29-2008, 10:28 AM |
thanks a lot! yes somehow better think I should change a bit the algorithm that I was using and it will be great
|
Posted by cloudrck, 02-29-2008, 10:56 AM |
You mean something like Aspell?
|
Posted by Codebird, 02-29-2008, 11:52 AM |
pspell works based on aspell I am using pspell it works fine but I am trying just to take the suggestions that works with my database.
|
Add to Favourites Print this Article
Also Read