evaluate co-occurrences of words in a text