Huge Collections of Software Manuals and Knowledgebase

GreatManuals.com
Huge Collections of Software Manuals and Knowledgebase

 
Home Contact Us Request to publish your help manuals Request to remove your help manuals

Introduction
 » ASP DidYouMean
Object Reference
 » Object Reference
 » getSuggestionString(strInput)
 » getSuggestionArray (strInput [, intMax])
 » getLanguagesAsArray()
 » setLanguages(strDictionaryName)
 » addCustomDictionary(strFileName)
 » addCustomDictionaryFromArray
 » getCustomDictionaryModifiedDate
 » getSafeQuery (strInput)
 » setBannedWords(arrWordsArray)
 » setRegKey(strKey)
Example
 » Basic Implementation
 » Multiple Results
Registration Detail
 » Registration
 

setBannedWords(arrWordsArray)

This method sets an array of banned words which will be excluded from results. This helps block competitor's names, abuse and profanity.

You can also set banned words by adding them to C:\Program Files\AspDidYouMean\Dictionaries\banned.txt one word per line, in any order.

Although there is little or no profanity in the English(optimized) dictionary, some of the larger dictionaries may naturally contain words which could be inappropriate certain contexts.

data recovery trial digital camera repair software data recovery tools
free windows repair disk repair utilities software update
data recovery software downloads freeware Keylogger data recovery shareware

Example

<%

set objDYM = server.createObject("ASPDidYouMean.DidYouMean")

strBanned = Array ("foul","language","profanity","smut" )
objDYM.setBannedWords ( strBanned )

%>

Home | Contact Us | Request to publish your help manuals | Request to remove your help manuals