Skip to content

stewartmckee/spell_checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

simple ruby spell checker gem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages