Analyze Sentiment
Description
This Activity analyzes the Sentiment of the provided text using Azure Cognitive Services. Refer: Details on Analyze Sentiment
note
This Activity works only inside the Azure Context activity.
Properties
Input
- Document Text – Specify the Text to submit for sentiment analysis.
Misc
- DisplayName – Add a display name to your Activity.
- Private – Logs the variable and argument values at the Verbose level when unchecked.
Optional
- Continue On Error – It Specifies whether the automation should continue even when the Activity throws an error. If True, the Activity continues without throwing any exceptions. If False, the Activity throws an exception. The default value is False.
note
Catches no error if this Activity is present inside the Try-Catch block and the value of this property is True.
Output
- Sentiment – Returns the Sentiment predicted by the service for input document text. It can be Positive, Negative, Neutral, or Mixed.
- Sentences - After analyzing the provided document text, it returns a list of metadata for SentimentSentence.
- Positive Score – A score between 0 and 100 represents the confidence that the Sentiment is positive.
- Negative Score – A score between 0 and 100 represents the confidence that the Sentiment is negative.
- Neutral Score – A score between 0 and 100 represents the confidence that the Sentiment is neutral.
- Raw Response - JSON string containing the response received as is from Azure.
note
This Activity is valid only under the 'Azure Context' activity with service type 'Cognitive Services'.
Example
Download Example