Take note the denominator is just the overall number of terms in document d (counting Just about every occurrence of precisely the same expression separately). You will discover various other approaches to outline phrase frequency:[5]: 128 An idf is regular for each corpus, and accounts with the ratio of documents which include the term "this".