basic sentiment analysis endpoint