added seq2ngrams