RubyGems Navigation menu

profanalyzer 0.2.0

Profanalyzer has one purpose: analyze a block of text for profanity. It is able to filter profane words as well. What sets it slightly apart from other filters is that it classifies each blocked word as "profane", "racist", or "sexual" - although right now, each word is considered "profane". It also rates each word on a scale from 0-5, which is based on my subjective opinion, as well as whether the word is commonly used in non-profane situations, such as "ass" in "assess". The Profanalyzer will default to a tolerance of of 2, which will kick back the arguably non-profane words. It will also test against all words, including racist or sexual words. Lastly, it allows for custom substitutions! For example, the filter at the website http://www.fark.com/ turns the word "fuck" into "fark", and "shit" into "shiat". You can specify these if you want.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.2.0 - August 11, 2011 (11.5 KB)
  2. 1.0.0 - April 07, 2010 (11 KB)
  3. 0.2.1 - March 25, 2009* (10 KB)
  4. 0.2.0 - March 23, 2009* (11.5 KB)
  5. 0.1.1 - March 22, 2009* (9 KB)
Show all versions (6 total)

Development Dependencies (1):

hoe >= 1.11.0

Owners:

Authors:

  • Michael J. Edgar

SHA 256 checksum:

a38472a71c8b75be6b1d394a3c70144c591f6e88216d11ef2a4d2b4a80f4ac77

Total downloads 51,026

For this version 3,397

Licenses:

N/A

Required Ruby Version: None

Links: