going to try using compiler library to speed up ngram_count_generator