共用方式為


AnalyzeSentimentResult Class

Definition

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

public class AnalyzeSentimentResult : Azure.AI.TextAnalytics.TextAnalyticsResult
type AnalyzeSentimentResult = class
    inherit TextAnalyticsResult
Public Class AnalyzeSentimentResult
Inherits TextAnalyticsResult
Inheritance
AnalyzeSentimentResult

Properties

DocumentSentiment

Gets the predicted sentiment for the full document.

Error

Gets the error explaining why the operation failed on this document. This property will have a value only when the document cannot be processed.

(Inherited from TextAnalyticsResult)
HasError

Indicates that the document was not successfully processed and an error was returned for this document.

(Inherited from TextAnalyticsResult)
Id

Gets the unique identifier for the document that generated the result.

(Inherited from TextAnalyticsResult)
Statistics

Gets statistics about the 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.

(Inherited from TextAnalyticsResult)

Applies to