Simple Dart class to create filters with methods to check and censor strings against profanity. A default English words list is provided (from LDNOOBW on GitHub).
Two words that were rejected: practitioner * assessment. Reason? Because they contained letters in a row that named certain body parts, is there a way to prevent this from happening.
I think it could be helpful to both include additional words in the filer and exclude some from the default filter. Would it be possible to create a combination constructor for this?
I may have some time to quick do this myself if that would be better.