compute Ngram liste on a String