Corpus processing ("UG3 - Foundations of Natural Language Processing" assignment)