Google Detect Text Emotion Engine
Google - Language API - Detect text emotion
Description
Detects if the text is rather negative or positive through the "Emotion" scale (respectively from -1 to 1) and if the emotion is strongly expressed through the text through the magnitude.
magnitude indicates the overall strength of emotion (both positive and negative) within the given text, between 0.0 and +inf. Unlike score, magnitude is not normalized; each expression of emotion within the text (both positive and negative) contributes to the text's magnitude (so longer text blocks may have greater magnitudes).
Inputs
- Control Flow (Control Flow)
- Text (String): the text to be analysed
Outputs
- Control Flow (Control Flow)
- Emotion (Number): score of the sentiment ranges between -1.0 (negative) and 1.0 (positive) and corresponds to the overall emotional leaning of the text.
- Error (Error Flow): If errors occurs
- Magnitude (Number): magnitude indicates the overall strength of emotion (both positive and negative) within the given text, between 0.0 and +inf. Unlike score, magnitude is not normalized; each expression of emotion within the text (both positive and negative) contributes to the text's magnitude (so longer text blocks may have greater magnitudes).