Create Categories for Sentiment Analysis

The CategorySetupSentimentAnalysisCats action allows you to set up and train positive, negative, and neutral sentiment categories to use to perform sentiment analysis.

After you run the CategorySetupSentimentAnalysisCats action, you can perform sentiment analysis without having to perform any other actions.

For example:

action=CategorySetupSentimentAnalysisCats&PositiveCatName=PositiveFeedback&PositiveCatTraining=the new procedure for routing service calls has really improved our customer satisfaction&Parent=71056

In this example, HPE IDOL Server sets up a category, PositiveFeedback, as a child of the category with the ID 71056, and trains that category with the specified text.