Hi all,
Just wondering whether there exists in ruby, or rails plugin, an offensive/rude word <> feature?
For example if accepting text for a blog if there was a rude word it would replace it with <> or XXXX.
Cheers
Hi all,
Just wondering whether there exists in ruby, or rails plugin, an offensive/rude word <> feature?
For example if accepting text for a blog if there was a rude word it would replace it with <> or XXXX.
Cheers
http://seattlerb.rubyforge.org/rbayes/
people find bayesian filters useful for this.
Or, you could just gsub it out.