Therefore, SWSM counts the frequencies of all the possible word senses of the surrounding words in the corpus.
if there are polysemes A and B in the corpus and B is a surrounding word of A, SWSM counts the frequencies of the senses by considering that all the senses of B appeared near all the senses of A.