From: Eric Christopherson Date: 2012-10-10T04:10:01+09:00 Subject: Re: Simulation of a dictionary On Tue, Oct 9, 2012 at 1:17 PM, Joao Silva wrote: > Hi all. > > What I'm trying to do, is a program that has a hash with predefined > words and its corresponding meaning, then when I enter a word that is > found in the hash, I must return its meaning, and if not found in the > hash, should return the most similar word. Maybe use something like Levenshtein distance. Some links to look at: http://stackoverflow.com/questions/2158851/grouping-strings-by-similarity http://stackoverflow.com/questions/2531502/detect-similar-sounding-words-in-ruby