Document frequency or df(w) is the number of documents in the corpus in which this word occurs. In our example, df(dog) = 2, dog appears in both the sentences.
Document frequency or df(w) is the number of documents in the corpus in which this word occurs. In our example, df(dog) = 2, dog appears in both the sentences.