You are here: Reference > Rule types > Free Text Model > Configuring sentiment settings

Configuring sentiment settings

You can define a sentiment score range to specify the type of sentiment feedback that you receive, positive, negative, or neutral. You define neutral sentiment within the available score range (-1 to 1), sentiments with the score higher than the neutral range are positive and with the lower score are negative. This setting is helpful when you need to comply with your business requirements and precisely adjust the sentiment ranges. For example, narrowing down the negative score range helps to identify the most critical text-based content such as news feeds, emails, and postings on social media streams.

  1. Open an instance of the Free Text Model rule.

  2. Configure sentiment analysis settings.

  3. Click the Advanced tab.

  4. In the Sentiment settings section, enter the minimum and maximum score to define the score range for the neutral sentiment, or keep the default values -0.25 and 0.25.

    Note:  Do not define the neutral sentiment score range as -1 to 0 or 0 to 1 as this interferes with sentiment analysis of input texts. The first score range excludes negative sentiment from sentiment analysis, the second score range excludes positive sentiment.

  5. Click Save.

  6. Optional: Test the rule instance.

Example:

To understand this configuration, analyze the following text with the default sentiment score values: Your company provides very good service. Still, the prices are too high. I have neutral opinion about you.

The first sentence has positive sentiment, the second negative, the last one neutral. The overall sentiment for the whole text is neutral as the sentiment score equals to 0.03, which belongs to the neutral sentiment score range (-0.25 to 0.25).