The rationale behind this step is to retrieve all possible intervening patterns between word A and word B.
for each word pair AB, the intervening patterns are collected in a data structure that contains lemma, token and POS for each position, including A and B.