Sentence index for n_gram