Sentiment

Prev Next

The emotional state of the conversations occurring in the text is evaluated as "sentiment scores".

Parameters

name
description
default
IgnoreSslErrors ignore any certificate errors if Sentiment address contains https false
Language The information about the language of the text to be analyzed is transmitted through this parameter. en-US
DialogBased Evaluate the text to be sent either as a plain text or by converting it into a dialogue format. false
PreventEmptySentiment If true, the sentiment node will refrain from sending any event in cases where detected sentiment is neutral. false
Sentiment API Version Set this parameter to V2 if you want slower but more accurate results. V1

Inputs

Events

name description known nodes that generate this event
* all events containing the 'Text' attribute SR Http

Outputs

Audio

 none

Events

name description
Sentiment A sentiment event is raised once for each separate input event with a Text field.

Remarks

This node can work in one of two modes:

Utterance Based

Analyses each incoming event independently.

Dialog Based

Collects input events from multiple channels/speakers and treats them as a dialog. Output contains dialog information.

Project Structure

A minimal project that utilizes Sentiment node can be built as such:

image.png

Note that the project above is `Utterance Based`. Which means each speech segment will be evaluated independently of each other.

A Dialog Based Sentiment project can be built as such:

image.png

Supported flow types: Stream, Batch

Release Notes

v4.1.0
  • Renamed the parameter "Use Sentiment V2 Integration" to "Sentiment API Version" and changed its type from checkmark to radio buttons.
v4.0.0
  • Removed the address field..
v3.7.0
  • Added API V2 support and related parameter.
v1.0.0
  • Introduced node.