Natural Language Processing homework