Our context vectors are generated from all unigrams (though larger n-grams can be considered) in all paragraphs containing links to a possible sense.
for each possible sense we use the database table of all the links to find all the pages referring to a particular sense.