Take note the denominator is just the entire amount of terms in document d (counting Every prevalence of exactly the same time period independently). You will find a variety of other tips on how to determine time period frequency:[five]: 128 An idf is consistent per corpus, and accounts for that ratio of documents that include the term "this".