ngrams

collocations.py computes ngrams from a sample of the emails and write the results to a file
ngrams.py contains all the related functions accessible from outside.