lucym Posted March 20, 2008 Share Posted March 20, 2008 Hello, I want to add the 'did you mean' feature (like on Google) on my shareware site, where a lot of users have mistypes, and they get 0 results... so they exit the site very fast. Do you have any idea how I could implement such a thing? Does it require a dictionary or something? I found some scripts, but none of them gave relevant results... just stupid, irrelevant suggestions. Any help would be appreciated... some code samples would be great Thanks, Lucy Link to comment https://forums.phpfreaks.com/topic/97066-the-did-you-mean-feature/ Share on other sites More sharing options...
beebum Posted March 20, 2008 Share Posted March 20, 2008 To do what Google does probably requires a dictionary. However, with MySQL you can give them an ordered list of results by "relevance" using a full-text search. MySQL also has a soundex feature but I haven't actually used it yet. Link to comment https://forums.phpfreaks.com/topic/97066-the-did-you-mean-feature/#findComment-496688 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.