Define a Sentiment Expression

A Sentiment Expression is an Expression that is used to determine the sentiment of text and returns a numerical value.

Sentiment Expressions utilize Microsoft's Machine Learning libraries and a base "binary sentiment model" which was provided by Microsoft and trained via Wikipedia. For more information, see https://dotnet.microsoft.com/apps/machinelearning-ai/ml-dotnet.

Text that has an overall positive sentiment will return a positive number. Text that has an overall negative sentiment will return a negative number.

To define a Sentiment Expression:

  1. Create an Expression.
  2. From the Editor drop-down list, select Sentiment.
    The Sentiment Expression section opens.
  3. To define the Expression, select the down arrow to open the Token Selector, and then select a value.
    Tip: Right-click anywhere in the Expression field to access the Token Selector.

    The Token displays in the Expression field.

  4. Select OK.