Package version:

Interface SentimentAnalysisSuccessResult

The result of a sentiment analysis action on a single document, containing the predicted sentiment for each sentence as well as for the full document.

Hierarchy

Properties

confidenceScores: SentimentConfidenceScores

Document level sentiment confidence scores between 0 and 1 for each sentiment class.

error?: undefined

Discriminant to determine if this is an error result.

id: string

Unique, non-empty document identifier.

sentences: Object

The predicted sentiment for each sentence in the corresponding document.

Predicted sentiment for document. For a list of possible values, see DocumentSentimentLabel

Statistics about the input document and how it was processed by the service. This property will have a value when includeStatistics is set to true in the client call.

warnings: Object

An array of warning data corresponding to this document.

If no warnings were returned, this array will be empty.

Generated using TypeDoc