Simple spell checker using word stemming. A basic word list is used to match words against. Word stemming is used to reduce the size of the list and be a bit smarter about the way we match the words.
Install the spell checker as a gem
gem install spell_checker
You can create the spell checker with a standard new command
spell = SpellChecker.new
check_word(string) – returns boolean
check_paragraph(string) – returns an array containing a hash per spelling failure of a word.
– the hash contains :stemmed_word, :searched_word, :suggested_words