Actually good content detection with LanguageFilter
I just created the language_filter gem, which detects and optionally filters multiple categories of language. I’ve seen a few gems that already try to offer this - most notably tjackiw’s obscenity and intridea’s profanity_filter. This gem is based on the former, but is completely refactored and offers many improvements, including the creation multiple, independent filters; simpler configuration; a diverse and growing set of pre-packaged matchlists (for not only profanity, but also sexual, violent, and hateful content); more robust whitelist handling; and much more.
Post a comment