After filtering the low frequency words of the text (frequency < 3), the co-occurrents of the remaining words are classically collected by recording the co-occurrences in a fixed-size window (15 plain words) moved over the pre-processed text.
each text word is represented by a vector that contains its co-occurrents and their cooccurrence frequency.