An n-gram generator for indic languages