tf(t,d) = count of t in d / number of words in ddf(t) = occurrence of t in N documentsidf(t) = log(N/(df(t) + 1))tf-idf(t, d) = tf(t, d) * log(N/(df(t) + 1))