If a query contains less than 3 terms or the term under consideration is the beginning/ending term in the query, we will set the probability of the missed term/terms to be 1.
it becomes point-wise mutual information when the query contains only two terms.