stemmer for malayalam

A stemmer for malayalam that stems a given word iteratively to learn less inflected words. This will result in more words in the database and consequently better transliteration.
eg - 

1) before stemming 
learn മരത്തിലൂടെ = learn മരത്തിലൂടെ and all possibilities

2) After stemming 
learn മരത്തിലൂടെ = learn മരത്തിലൂടെ and മരത്തിൽ and മരം and all possibilities