tf-idf.py saves the docFreq dictionary on pymongo