Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create language filter #278

Closed
wants to merge 1 commit into from
Closed

Create language filter #278

wants to merge 1 commit into from

Conversation

gunthercox
Copy link
Owner

@gunthercox gunthercox commented Sep 4, 2016

When I'm presenting an application built with ChatterBot, having this filter enabled will make it so that the chat bot cannot return a response with a swear in it :)

That's what I get for using Twitter as a source of training data 馃樀

WIP status:

  • Resolve issue with random response and base query
    • Priority for filters?
  • Resolve issue with response data containing results that we want to ignore

Closes #1052

@ThomasKoscheck
Copy link
Contributor

How can I use this swear words filter?

@gunthercox
Copy link
Owner Author

gunthercox commented Dec 22, 2016 via email

@ghost
Copy link

ghost commented Dec 8, 2017

These kinds of filters are ridiculous, just let the thing grow as it should, if it says something inappropriate oh well.

@gunthercox
Copy link
Owner Author

I'm going to close this pull request off. Instead of creating a filter for foul language, I'm going to introduce a more generic change that will allow a list of words to be provided such that the chat bot will not choose a response there the text includes one of those words. It will be up to developers using ChatterBot to choose what those words should be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants