<Prithvi> Implemented NGramModel