Uses networkx to track the associations between words in textual media