What calculated by multiplying the term frequency (how often a word appears in a document) with the inverse document frequency (how rare the word is across all documents) Term Frequency: Input Corpus Links An information-theoretic perspective of tf–idf measures - ScienceDirect BM25