Observe the denominator is simply the overall number of terms in document d (counting Every single prevalence of the same expression separately). You'll find several other approaches to outline time period frequency:[5]: 128 Both of those phrase frequency and inverse document frequency is often formulated in terms of data theory; it helps to un