Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

The sentiment classifier analyzes text to identify and extract opinions. Analysis is at the sentence level. Positive, neutral, and negative sentiments are each rated from 0 - 1 (total value of all three scores is 1.) 

Note: If advertisers want to target positive content, it's recommended that they look for neutral or positive scores, as most content scores in the neutral range.

Syntax


"sentiments": [
  {
    "sentiment": "neu",
    "score": <0-1>
  },
  {
    "sentiment": "neg",
    "score": <0-1>
  },
  {
    "sentiment": "pos",
    "score": <0-1>
  }
]



Example
"sentiments": [
  {
    "sentiment": "neu",
    "score": 0.53
  },
  {
    "sentiment": "neg",
    "score": 0.41
  },
  {
    "sentiment": "pos",
    "score": 0.06
  }
]
Data TypeArray of objects
RequiredNo
Page Element Analyzed

Text

Used ForTargeting/anti-targeting
More Information/wiki/spaces/VDOC/pages/920781072
  • No labels