0.01
No commit activity in last 3 years
No release in over 3 years
Word spell checker
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
 Dependencies

Runtime

 Project Readme

Spell Checker v0.0.3

Intro

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.

Installation

Install the spell checker as a gem

gem install spell_checker

Usage

You can create the spell checker with a standard new command
spell = SpellChecker.new

Methods

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