How to implement natural language processing (NLP) for sentiment analysis?