t i and t j have a strong semantic relation if their keyphrase candidates often appear close to each other in the document.
the weight w i,j of their edge is defined as follows: where dist(c i , c j ) refers to the reciprocal distances between the offset positions of the candidate keyphrases c i and c j in the document and where pos(c i ) represents all the offset positions of the candidate keyphrase c i .