term frequency-inverse document frequency 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)