Create a basic autocorrecting spell checker
CJam, 90 87 bytes

qelN%Sf%~f{1$:W,,_:_2ewWf{\~e\}\Wf{' t_S-}W,),Wf{1$m&lt;S\+m&gt;}++Sf/26,'af+\ff*:+\&amp;\a+0=}S*


Try it online in the CJam interpreter.