I want to write a very simple Spell Checker. The spell checker will try to match the input word with equivalent words form the dictionary.

What can be done to find those 'equivalent words'? What analysis can be preformed on two words to mark them equivalent?