You are here

Sample Source Code: Textgain Text Analytics Sentiment Analysis Curl Sample Code Followers

The Textgain Text Analytics Sentiment Analysis Curl Sample Code demonstrates how to implement sentiment analysis that predicts whether a text is an objective (fact) or subjective (opinion). The subjective text contains adverbs and adjectives with a positive or negative ‘polarity’ that captures the author’s personal opinion (e.g., an excellent opportunity or a bad product).