Each edge is assigned a weight which measures the relative frequency of the two words cooccurring.
let w ij be the weight of the edge 3 connecting nodes i and j, then where The weight of an edge measures how tightly connected the two words are.