ruen_speller 1.0.1
This simple gem I've done in training. It checking the spelling English or Russian text wiht tech.yandex.ru/speller site. examples: puts RuenSpeller.correct?("love")#=> true puts RuenSpeller.correct?("leve")#=> ["lee", "live", "love", "lave", "level"] RuenSpeller.correct?("leve").request_value #=> 'leve' RuenSpeller.correct?("leve").checked_values #=> ["lee", "live", "love", "lave", "level"] The default method sends GET-request. If you need a POST-request, just drop the last argument - true. Example: RuenSpeller.correct?("Love", true)
Gemfile:
=
instalar:
=
Runtime Dependencies (1):
activesupport
~> 4.2
Requisitos:
Internet connection
Enough courage to use it