Text analytics and sentiment analysis API