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
Required Ruby Version
None
Authors
Fedotov Daniil
Versions
-
0.0.5
-
source
- 0.0.5 source March 16, 2013 (757 KB)
-
-
0.0.4
-
source
- 0.0.4 source March 15, 2013 (756 KB)
-
-
0.0.3
-
source
- 0.0.3 source March 15, 2013 (756 KB)
-
-
0.0.2
-
source
- 0.0.2 source March 15, 2013 (756 KB)
-
-
0.0.1
-
source
- 0.0.1 source February 26, 2013 (756 KB)
-