In: Computer Science
Document frequency is
A. query and document
B. query only
C. term only
D. term and document
E. term, query, and document
Its D) term and document
Its number of documents in which term appears. So its a function of term and document
eg.
d1: word1, word2, Word3
d2: word2
d3: word1
document Frequency of word2 is 2 as it appears in 2 documents