removing n_gram generator