Global Variable

NLTagSchemeSentimentScore

A scheme that scores text as positive, negative, or neutral based on its sentiment polarity.

Declaration

const NLTagScheme NLTagSchemeSentimentScore;

Discussion

The range of a sentiment score is [-1.0, 1.0]. A score of 1.0 is the most positive, a score of -1.0 is the most negative, and a score of 0.0 is neutral.

See Also

Schemes

NLTagSchemeTokenType

A scheme that classifies tokens according to their broad type: word, punctuation, or whitespace.

NLTagSchemeLexicalClass

A scheme that classifies tokens according to class: part of speech, type of punctuation, or whitespace.

NLTagSchemeNameType

A scheme that classifies tokens according to whether they are part of a named entity.

NLTagSchemeNameTypeOrLexicalClass

A scheme that classifies tokens corresponding to names according to NLTagSchemeNameType, and classifies all other tokens according to NLTagSchemeLexicalClass.

NLTagSchemeLemma

A scheme that supplies a stem form of a word token, if known.

NLTagSchemeLanguage

A scheme that supplies the language for a token, if it can determine one.

NLTagSchemeScript

A scheme that supplies the script for a token, if it can determine one.