Note the denominator is actually the total variety of terms in document d (counting Each individual occurrence of the exact same time period separately). You'll find a variety of other tips on how to determine time period frequency:[five]: 128 An idf is continual for each corpus, and accounts for the ratio of documents which include the term "t