RubyFlow The Ruby and Rails community linklog


The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in