Skip to content

vikhyat/similar-sounding-words

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Similar Sounding Words

When it is given the word color, this is what it gives back: collar coaler choler cooler caller cholera cellar collier celery calorie clear culler Clari Clary clawer chiller colliery Collier Clare Clair Clara Clarie Clarey clayier Claire clearway

Rather nice, eh?

Dictionaries

If you want this to use some other word list, you’ll need to download a dictionary for it. Any ‘.dic’ file from http://wiki.services.openoffice.org/wiki/Dictionaries should work. Open setup.rb, change en_US.dic to whatever is appropriate for the file you downloaded, and then run setup.rb.

You could also create your own dictionary file. Just put each word on a new line. Anything after a ‘/’ is ignored.

Credits

The Levenshtein calculation code was by Paul Battley and taken from here.

The Soundex Calculation was from here.

About

Uses soundex to give back a list of similar sounding words.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages