Let q s = q s \ q t and q t = q t \ q s , where \ is the set difference operator.
the final co-occurrence count of two arbitrary terms w i and w j is denoted by N i,j and it is defined as the sum over all query pairs in the session logs, be the sum of co-occurrence counts over all term pairs.