Fourth NLP programming assignment.