Define a Sentiment Expression
A Sentiment expression 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:
- Create an expression.
- From the Editor drop-down list, select Sentiment.
The Sentiment expression section opens.
- To define the expression, select the Down Arrow to open the Token Selector, and then select a value.
Right-click anywhere in the Expression field to access the Token Selector.
The Token displays in the Expression field.
- Select OK.