Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SentenceSentiment

Package version

An interface representing SentenceSentiment.

Hierarchy

  • SentenceSentiment

Index

Properties

length

length: number

The length of the sentence by Unicode standard.

offset

offset: number

The sentence offset from the start of the document.

sentenceScores

The sentiment confidence score between 0 and 1 for the sentence for all classes.

sentiment

The predicted Sentiment for the sentence. Possible values include: 'positive', 'neutral', 'negative'

Optional warnings

warnings: string[]

The warnings generated for the sentence.

Generated using TypeDoc