Function that takes a Term-Document map; computes IDFs.
github.com/zjohn77/Inverse-Document-Frequency
zjohn77/Inverse-Document-Frequency