Algorithms and models in Natural Language Processing II