Implementation of NLP task