One way to adapt it for document significance is to alter the numerator such that only the span-constrained bigram occurrences in -significant documents are considered in computing f (x, y).
consider a document with f occurrences of a word-pair of which span of f s occurrences is atmost s, the given span threshold.