Answers.Body: <p>I have not found one other than scraping a few pages from Urban Dictionary, I built my list via crowdsourced style and got a number of interesting words I had not considered.</p>
  
  <p>Start with the worst words you can think of, then try slang and accidental or on purpose misspellings of them</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-05T06:32:23.780Z
Answers.LastActivityDate: 2020-04-05T06:32:23.780Z
Answers.UserDisplayName: CoffeeBaconAddict
Body: <p>So, Tay the racist tweeter bot... one thing that could have prevented this would have been to have a list of watchwords to not respond to, with some logic similar to <code>foreach (word in msg) {if (banned_words.has(word)) disregard()}</code>.</p>
  
  <p>Even if that wouldn't, what I'm getting at is obvious: I am building a chatterbot that must be kid-friendly. For my sake and for the sake of whoever finds this question, <strong>is there a resource consisting of a .csv or .txt of such words that one might want to handle?</strong> I remember once using a site-blocking productivity extension that had visible its list of banned words; not just sexually charged words, but racial slurs, too.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-04-05T14:02:14.550Z
Comments.Text: Certainly, though, it could be useful to ban more obvious words? There is zero excuse for using, for example, the more strident and unambiguous racial slurs.
Comments.UserDisplayName: JohnnyApplesauce
Tags: <chat-bots><resource-request>
Title: Does there exist a resource for vetting banned words for chatbots?
UserDisplayName: JohnnyApplesauce
ThreadText: # Does there exist a resource for vetting banned words for chatbots?
  
  (Asked by: username_0 on 2020-04-04)
  
  So, Tay the racist tweeter bot... one thing that could have prevented this would have been to have a list of watchwords to not respond to, with some logic similar to `foreach (word in msg) {if (banned_words.has(word)) disregard()}`.
  
  Even if that wouldn't, what I'm getting at is obvious: I am building a chatterbot that must be kid-friendly. For my sake and for the sake of whoever finds this question, **is there a resource consisting of a .csv or .txt of such words that one might want to handle?** I remember once using a site-blocking productivity extension that had visible its list of banned words; not just sexually charged words, but racial slurs, too.
  
  **Tags:** chat-bots, resource-request
  
  > **Comments:**
  > **username_0**: Certainly, though, it could be useful to ban more obvious words? There is zero excuse for using, for example, the more strident and unambiguous racial slurs.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-04-05. Score: 1 | Accepted answer
  
  I have not found one other than scraping a few pages from Urban Dictionary, I built my list via crowdsourced style and got a number of interesting words I had not considered.
  
  Start with the worst words you can think of, then try slang and accidental or on purpose misspellings of them
  
  
  ---
  
  