more python tokenization, ngram creation and ngram aggregation