CategorySetupSentimentAnalysisCats

Allows you to set up categories to use to perform sentiment analysis. When the action is complete, you can perform sentiment analysis without having to perform other actions.

Example

http://12.3.4.56:9000/Action=CategorySetupSentimentAnalysisCats&PositiveCatName=positiveSentiment&NeutralCatName=neutralSentiment&NegativeCatName=negativeSentiment&PositiveCatTraining=agree happy like&NeutralCatTraining=unsure OK alright&NegativeCatTraining=disagree unhappy hate&Parent=1234567890

This action sets up, trains, and builds three categories as children of the parent category 1234567890.

NOTE:

The Parent category named in CategorySetupSentimentAnalysisCats must already exist, and cannot already have any child categories.

Parameters

Parameter Description Required
NegativeCatName The name of the negative sentiment category. Yes
NeutralCatName The name of the neutral sentiment category. Yes
Parent The parent category to add the sentiment categories to. Yes
PositiveCatName The name of the positive sentiment category. Yes
<Sentiment>CatTraining The text to use to train the Sentiment category. See Comments
<Sentiment>DocRef A list of document references to use to train the Sentiment category. See Comments
<Sentiment>StateID A state token that contains the documents to use to train the Sentiment category. See Comments

This action accepts the following standard ACI action parameters.

Parameter Description
ActionID A string to use to identify an ACI action.
EncryptResponse Encrypt the output.
FileName The file to write output to.
ForceTemplateRefresh Forces the server to load the template from disk.
Output Writes output to a file.
ResponseFormat The format of the action output.
Template The template to use for the action output.
TemplateParamCSVs A list of variables to use for the specified template.

Comments

You must provide a source of training for each of the sentiment categories created.

You must specify at least one of the following parameters for the positive sentiment:

You must specify at least one of the following parameters for the neutral sentiment:

You must specify at least one of the following parameters for the negative sentiment:

If one or more categories do not have a source of training, IDOL Server returns an error.


_HP_HTML5_bannerTitle.htm