Skip to main content
Identify sentiment of text
Bassem Khalifa avatar
Written by Bassem Khalifa
Updated over 9 months ago

Identifies sentiment for a given piece of text. The maximum text size is 5 KB.

Application

  • Natural Language Processing

Inputs (what you have)

Name

Description

Data Type

Required?

Example

Text to evaluate

Text to identify entities in

Text(Long)

Yes

Text language

Language the “Text to evaluate” is in

Predefined Choice List

No

English

Note: the value of inputs can either be a set value in the configuration of the Wrk Action within the Wrkflow, or a variable from the Data library section. These variables in the Data library section are the outputs of previous Wrk Actions in the Wrkflow.

Outputs (what you get)

Description

Data Type

Required?

Example

Sentiment

General sentiment of the “Text to evaluate”

Text(Short)

Yes

Positive

Sentiment Score - Positive

The level of confidence that the given text is Positive

Number with decimals

Yes

0.96

Sentiment Score - Negative

The level of confidence that the given text is Negative

Number with decimals

Yes

0.26

Sentiment Score - Neutral

The level of confidence that the given text is Neutral

Number with decimals

Yes

0.04

Sentiment Score - Mixed

The level of confidence that the given text is Mixed

Number with decimals

Yes

0.13

Outcomes

Name

Description

Success

This status is selected in the event of that entities are identified in the given text.

Impossible to Complete

This status is selected in the event of the following scenario:

  • The maximum text size exceeds 5 KB

Requirements

  • N/A

Did this answer your question?