GoogleSpellcheck
A spellchecker using Google's search engine.
Installation
Add this line to your application's Gemfile:
gem 'google_spellcheck'
And then execute:
$ bundle
Or install it yourself as:
$ gem install google_spellcheck
Usage
# will return true if there are no corrections, otherwise will return the corrected string
result = GoogleSpellcheck.run("word or phrase to check")
Testing
rake test
Contributing
- Fork it ( https://github.com/marshallford/google_spellcheck/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request