ASPDidYouMean Live Demo
Other Features
> Google style search spelling suggetions
>
Inteligent, relevant suggestions
> Multiple Results possible
> Support for over 10 langauges
> Database Connective Dictionaries
> Custom Dictionaries
Add Sophisticated Spell-Checking to your Search.
Tutorial
To spell check a search string - we use the getSuggestionString function..
The below expression will make spelling suggestions for the string strQuery. The results are returned as the string strSuggest.
<%
Set objDYM = server.createObject("ASPDidYouMean.DidYouMean")
strSuggest = objDYM.getSuggestionString(strQuery)
Set objDYM = Nothing
%>
3 lines of code. It's that simple! This functionality can be integrated into most search applications in minutes.
Further Ideas
You can also return multiple results using the function getSuggestionArray, or use setLanguages to select which dictionaries you wish to use.Advanced developers can use the addCustomDictionary and addCustomDictionaryFromArray functions for database connectivity.
