start adding methods to the ngrams type, not working yet, impl. may change drastically soon