RubyGems Navigation menu

profanalyzer 0.1.1

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:

1a77c9de6dd5da212585723d5f0bdc8707023a4f025bc78085cd2a0a61fb3d6a

Total downloads 50,992

For this version 3,376

Licenses:

N/A

Required Ruby Version: None

Links: