共用方式為


TextAnalysisModelFactory.SentimentConfidenceScores Method

Definition

Initializes a new instance of SentimentConfidenceScores.

public static Azure.AI.Language.Text.SentimentConfidenceScores SentimentConfidenceScores (double positive = 0, double neutral = 0, double negative = 0);
static member SentimentConfidenceScores : double * double * double -> Azure.AI.Language.Text.SentimentConfidenceScores
Public Shared Function SentimentConfidenceScores (Optional positive As Double = 0, Optional neutral As Double = 0, Optional negative As Double = 0) As SentimentConfidenceScores

Parameters

positive
Double

Confidence score for positive sentiment.

neutral
Double

Confidence score for neutral sentiment.

negative
Double

Confidence score for negative sentiment.

Returns

A new SentimentConfidenceScores instance for mocking.

Applies to