Returns the inverse document frequency of the term for a corpus of size n.
term
n
double? idFt(String term, int n) { final dFt = getFrequency(term); return (dFt > 0.0) ? log(n / getFrequency(term)) : null; }