Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: open
I have been asked by my Boss to download and try out a reasonably good "Did You Mean" database. It will act as a suggestion tool for site searches .. so if you type Helllo it will suggest the right word which is Hello. My question is is it available for free in the internet? Where can I find one?
What I found is a "COM ActiveX Server Component" which we don't need.
Please help me out.
You can use soundex, metaphone, or similar concepts.
What you will need is your language database of words, and the selected phonetic algorithm results.
Since this is for your web site, you can even create this through a program, and periodically update it.
This would allow you to create the "did you mean" results, on the fly.
That is, let's presume you select soundex as the algorithm.
* Go through all pages of your site and create database of words and soundex (filter non-relevant pages, duplicates, stop words, etc.)
* Primary key would be the soundex.
* user enters "helllo".
* Calculate soundex.
* look up matching soundex in DB.
* display words as "did you mean" with appropriate links to pages...
edit: eh, Demaestro already said while I was typing it up. :D
[edited by: Tapolyai at 7:40 pm (utc) on Dec. 6, 2007]
Does anyone know of any other possible ways? And is this the way the search engines work too?
Right now we do maintain a dictionary and we have two heads who monitors the site searches and enters the misspelt words and their suggested words. We now plan to automate the same and enhance the whole procedure.