Skip to content

joajfreitas/wordmorph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

139 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordmorph

Word path finding utility

How?

Djikstra (using binary heap), on an adjacency list weighted graph of words (the edge weights are the hamming distance between each word).

Instructions:

git clone https://github.com/joajfreitas/wordmorph && cd wordmorph
cd src && make

Usage:

./wordmorph dic.txt pal.txt

Where the first parameter is a dictionary file and the second parameter is a problem file with the format:

"first word" "second word" "number of permutations allowed"

Wordmorph will find the shortest path between the first and second words and write it to a .path file.

Developed by:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors