Binarize for document frequency

The IDF of TF-IDF assumes a count of the number of documents a word appears in, not a total count of the words. This is easy to fix by binarizing the docWordMatrix.