replaced NLP pipeline