lightweight mode for dfr.ngrams