RubyGems Navigation menu

bad_word_detector 0.0.4

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

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.0.5 - March 16, 2013 (756.5 KB)
  2. 0.0.4 - March 15, 2013 (756.0 KB)
  3. 0.0.3 - March 15, 2013 (756.0 KB)
  4. 0.0.2 - March 15, 2013 (756.0 KB)
  5. 0.0.1 - February 26, 2013 (756.0 KB)

Development 依赖 (2):

redcarpet >= 0
yard >= 0

业主:

作者:

  • Fedotov Daniil

SHA 256 校验和:

d4d2f4f19fce6babbb65da8605acec953d6f54eb203bf34da298da54503d79aa

下载总量 84,859

这个版本 3,592

许可:

需要的 Ruby 版本:

链接: