A stemming algorithm to stem malayalam words