Categories: None [Edit]
bad_word_detector
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,904 of 197,375
Downloads: 99,674
Daily
Ranking: 33,053 of 197,350
Downloads: 12
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | hairyhum |