Sentiment Options

Options

setOption_SetSentimentDictionary

setOption_SetSentimentDictionary(session, sPath, acConfigurationID)

All subsequent sentiment analysis will use the specified sentiment dictionary.

See also: [Options->Sentiment Options->Sentiment Dictionary]

setOption_AddSentimentDictionary

setOption_AddSentimentDictionary(session, sPath, acConfigurationID)

Adds additional sentiment dictionaries to be used in sentiment analysis.

See also: [Options->Sentiment Options->Sentiment Dictionary]

setOption_AddSentimentModel

setOption_AddSentimentModel(session, sPath, acConfigurationID)

Uses a different compiled sentiment model file for sentiment analysis.

See also: [Options->Sentiment Options->Sentiment Model]

setOption_ClearSentimentModel

setOption_ClearSentimentModel(session, acConfigurationID)

Turns off model based sentiment analysis.

See also: [Options->Sentiment Options->Sentiment Model]

setOption_UpperNeutralScore

setOption_UpperNeutralScore(session, fScore, acConfigurationID)

Sets the upper bound for a document to be considered neutral. Defaults to 0.5

See also: [Options->Sentiment Options->Neutral Upper Bound]

setOption_LowerNeutralScore

setOption_LowerNeutralScore(session, fScore, acConfigurationID)

Sets the lower bound for a document to be considered neutral. Defaults to -0.45

See also: [Options->Sentiment Options->Neutral Lower Bound]

setOption_UsePolarityModel

setOption_UsePolarityModel(session, nPolarityModel, acConfigurationID)

Includes a measure of whether a sentence 'looks' like the sort of sentence that usually communicates sentiment in analysis. Defaults to false (0).

See also: [Options->Sentiment Options->Use Polarity Model]

setOption_AllSentimentPhrases

setOption_AllSentimentPhrases(session, nAllSentimentPhrases, acConfigurationID)

Enables the user to get all possible sentiment phrases back from GetSentiment, even ones that aren't in the dictionary. Defaults to false (0).

See also: [Options->Sentiment Options->Return All Possible Phrases]

setOption_EmphaticModifier

setOption_EmphaticModifier(session, fModifier, acConfigurationID)

Enables the user to adjust the multiplier for emphatic modifiers (such as exclamation marks). Defaults to 2.

See also: [Options->Sentiment Options->Emphatic Multiplier]

setOption_SuperlativeModifier

setOption_SuperlativeModifier(session, fModifier, acConfigurationID)

Enables the user to adjust the multiplier for superlative phrases. Defaults to 1.25.

See also: [Options->Sentiment Options->Superlative Multiplier]