You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
With #574 we have a working profanity filter for the frontend site. To prevent folks from submitting their own HTTP requests to our API via the firefox devconsole or network tools to bypass client side validation, we need to filter profanity on the backend site too.
Describe the solution you'd like
No solution, but more like questions to discuss:
1. Do multilingual profanity lists exist anywhere in the Mozilla universe?
2. Do we want to curate those lists ourselves or use a third party package?
3. Is word matching enough? Or do we need/want some kind of sentiment analysis?
4. Automatic profanity filtering is never accurate. How do we deal with false positives or true negatives? Do we need some kind of "Report"-button for users to tell us about inappropriate content?
Additional context
Maybe we could use something like this: https://pypi.org/project/profanity-check/
It uses a Bag-of-words model to vectorize input strings before feeding them to a linear classifier.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
With #574 we have a working profanity filter for the frontend site. To prevent folks from submitting their own HTTP requests to our API via the firefox devconsole or network tools to bypass client side validation, we need to filter profanity on the backend site too.
Describe the solution you'd like
No solution, but more like questions to discuss:
Additional context
Maybe we could use something like this:
https://pypi.org/project/profanity-check/
It uses a Bag-of-words model to vectorize input strings before feeding them to a linear classifier.
The text was updated successfully, but these errors were encountered: