SentimentEnricher(EnricherOptions, Nullable<Double>) Constructor

Definition

Initializes a new instance of the SentimentEnricher class.

public SentimentEnricher(Microsoft.Extensions.DataIngestion.EnricherOptions options, double? confidenceThreshold = default);
new Microsoft.Extensions.DataIngestion.SentimentEnricher : Microsoft.Extensions.DataIngestion.EnricherOptions * Nullable<double> -> Microsoft.Extensions.DataIngestion.SentimentEnricher
Public Sub New (options As EnricherOptions, Optional confidenceThreshold As Nullable(Of Double) = Nothing)

Parameters

options
EnricherOptions

The options for sentiment analysis.

confidenceThreshold
Nullable<Double>

The confidence threshold for sentiment determination. When not provided, it defaults to 0.7.

Applies to