Goospell uses the undocumented google spell checking api at https://www.google.com/tbproxy/spell
Add this line to your application's Gemfile:
gem 'goospell'
And then execute:
$ bundle
Or install it yourself as:
$ gem install goospell
goospell "Thas sentnince iss spellleded awell rong"
---
Thas:
- This
- Th as
- Th-as
- Thais
- Thaws
- Thad
sentnince:
- sentence
- sentience
- sentences
- sentencing
- sentience's
iss:
- is
- Isa
- Issi
- Issy
- OSS
- USS
spellleded:
- spelled
- pelleted
- spilled
- superseded
- secluded
awell:
- a well
- aw ell
- aw-ell
- awe ll
- awe-ll
- Ewell
rong:
- Ring
- ring
- tong
- wrong
- Rog
goospell
Goospell::spell('Thas sentnince iss spellleded awell rong')
#{"Thas"=>["This", "Th as", "Th-as", "Thais", "Thaws", "Thad"], "sentnince"=>["sentence", "sentience", "sentences", "sentencing", "sentience's"], "iss"=>["is", "Isa", "Issi", "Issy", "OSS", "USS"], "spellleded"=>["spelled", "pelleted", "spilled", "superseded", "secluded"], "awell"=>["a well", "aw ell", "aw-ell", "awe ll", "awe-ll", "Ewell"], "rong"=>["Ring", "ring", "tong", "wrong", "Rog"]}
- uri
- net
- rexml
- Fork it
- 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 new Pull Request
Released under the GPLv3 license
Copyright (c) 2012 Domain7