Pass in document frequency both times for weight calculation