Oneirocom / Magick

Magick is a cutting-edge toolkit for a new kind of AI builder. Make Magick with us!
https://magickml.com
Other
701 stars 115 forks source link

Profanity filter is too strict #779

Closed lalalune closed 1 year ago

lalalune commented 1 year ago

Magick version

Current

System information

All

Issue description

The profanity filter is too strict and blocks many words. For example "skill" (because "kill" is blocked).

This is called the Scunthorpe Problem: https://en.wikipedia.org/wiki/Scunthorpe_problem

  1. Review the badwords in https://github.com/lalalune/expletives
  2. Remove all of the short words (ass, kill, etc) that could trigger
  3. Push a PR to expletives and I'll push it to npm

Steps to reproduce

Minimal reproduction project

Nah

Knar33 commented 1 year ago

I made a pull request. It might be nice in the future if we extend this function by allowing users to curate their own profanity filter.

lalalune commented 1 year ago

Great, imported