Braingle’s letter juggling puzzle http://www.braingle.com/brainteasers/46611/letter-juggle.html is a brain teaser that involves manipulating words and letters in the English language.

The idea is simple—given a pair of English words, by moving a single letter from one word to the other, form a pair of synonyms or near synonyms. For example: given “boast” and “hip”, move the “s” from “boast” to “hip” to obtain the synonyms “boat” and “ship”.

Your task, however, is to write a Java program which—given a file containing pairs of synonyms and a second file containing a sequence of words from a dictionary—will produce as many pairs of words from the dictionary as possible that can be used to set the puzzle for each synonym pair.

Note: as usual marks will be awarded for coding and documentation (describing the problem’s analysis, choice of data structures, design of algorithm, etc), and also for creativity.

Sample dictionary and synonym files can be found on Blackboard.

Academic Honesty!
It is not our intention to break the school's academic policy. Projects posted are only used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly fill out the form. Please provide a valid email address and we'll get back to you in less than 24 hours. We will be sending an invoice through PayPal upon confirmation. We are a non profit organization however we need an amount to keep this organization running, and to be able to complete our research and development.