Skip to main content

Analyze Sentiment

Description

This activity analyzes the Sentiment of the provided text using Azure Cognitive Services.

note

This activity must be used within 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 though this activity fails. This field only supports Boolean values (True, False). The default value is False.
    note

    If this activity is inside Try Catch and the value of this property is True, it will ignore errors during the automation execution.

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 sentiment sentence metadata.
  • 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

Analyze Sentiment

Analyze Sentiment Properties