See the Aspell Malayalam spelling checker working on Gedit.This development version is having only 4500 Malayalam words in the dictionary. It is not at all sufficient for Malayalam.
Compound word handling and soundslike features are yet to be developed. Snapshot from Anivar’s machine