Sentiment Analysis Action
Sentiment analysis determines whether a text expresses a positive or negative sentiment. In order to use this action, the pre-requisites are:
- A sentiment analysis system must be enabled in Wordbee Translator under "Settings" > "Sentiment Analysis"
- The user must have the right to run a sentiment analysis. Check access right in the respective user profile.
The sentiment score (-10 to 10) is returned with each segment in txt.sent (score) and txt.sentdt (date of scoring). See Segment Details (Object)
The action is configured as follows:
type | "SentimentAnalysis" | string, Mandatory |
locale | The language to estimate. | string, Mandatory |
mode | Specify a mode:
| string, Mandatory |
minlength | Any text shorter than this minimum length will not be scored. The length is calculated exclusive markup. The idea here is that very short texts may be difficult to score (unless they contain a really blatant word). Set 0 if you want to score any text whatever its length. | int, Mandatory |