Options
All
  • Public
  • Public/Protected
  • All
Menu

Detects anger, disgust, fear, joy, or sadness that is conveyed in the content or by the context around target phrases specified in the targets parameter. You can analyze emotion for detected entities with entities.emotion and for keywords with keywords.emotion. Supported languages: English.

Hierarchy

  • EmotionOptions

Index

Properties

Properties

Optional document

document: boolean

Set this to false to hide document-level emotion results.

Optional targets

targets: string[]

Emotion results will be returned for each target string that is found in the document.

Generated using TypeDoc