BadWordFilter
Installation
Add this line to your application's Gemfile:
gem 'bad_word_filter'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install bad_word_filter
Usage
content = "This is great text nothing wrong here"
BadWordFilter.filter(content)
response will be in json
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/[ispiret]/bad_word_filter. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
License
The gem is available as open source under the terms of the MIT License.
Code of Conduct
Everyone interacting in the BadWordFilter project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.