add a generalized ngrams? from file freq query fn