Sha256: 2dcf79bceb7eaaa2ecf0cb680fbe34cb8686d12067c9832bc608fdc91fc4bfdf

Contents?: true

Size: 535 Bytes

Versions: 2

Compression:

Stored size: 535 Bytes

Contents

= Swearjar

Simple profanity detection with content analysis.

== Installation

gem install swearjar

== Usage

  require 'swearjar'

  Swearjar.default.profane?('jim henson has a massive hard on he is gonna use to fuck everybody')
  << true

  Swearjar.default.scorecard('jim henson has a massive hard on he is gonna use to fuck everybody')
  << {:sexual => 2}
  
  Swearjar.default.censor('jim henson has a massive hard on he is gonna use to fuck everybody')
  << 'jim henson has a massive **** ** he is gonna use to **** everybody'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
swearjar-0.0.2 README.rdoc
swearjar-0.0.1 README.rdoc