Skip to content

danielbonnell/spell-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

spell-checker

A simple program I wrote that takes a string of words and checks it for misspelled words. The program creates a dictionary from the lotsowords.txt file. It creates a list of words from the string that aren't in the dictionary and then checks them to see if they are missing a letter (e.g. "Ruby on Rals"), have an extra letter somewhere (e.g. "Rubby on Rails") or have two adjacent letters swapped (e.g. "Ruby on Raisl"). After compiling a list of candidate matches for the misspelled word, the program presents the user with an ordered list of the most likely match based on the frequency with which the candidate match appears in the lotsowords.txt file.

About

A program that checks a string of words for misspelled words against a dictionary of words.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages