Categories: None [Edit]

bad_word_detector

https://rubygems.org/gems/bad_word_detector
https://github.com/hairyhum/bad-words.ruby
Detects #uck F|_|__C_K and other variations of hidden swear words in text. Usage: ``` finder = BadWordDetector.new finder.find("What the #uck") it will return BadWord object ``` Transformation rules is defined in form: {"#" => {"symbol"=>"f", "weight" => 2}} (where weight is optional) in file conf/rules.yaml List of swear words is located in conf/library.yaml Whitelist of english words in conf/whitelist.yaml You can also set own rules: finder = BadWordDetector.new rules, library, whitelist

Total

Ranking: 18,213 of 188,662
Downloads: 93,479

Daily

Ranking: 76,790 of 188,645
Downloads: 2

Depended by

RankDownloadsName

Depends on

RankDownloadsName
225201,674,408yard
413113,901,834redcarpet

Owners

#GravatarHandle
1iconhairyhum