Sentiment analysis using text-processing API working