TextAnalyticsModelFactory.AssessmentSentiment Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of AssessmentSentiment for mocking purposes.
public static Azure.AI.TextAnalytics.AssessmentSentiment AssessmentSentiment (Azure.AI.TextAnalytics.TextSentiment sentiment, double positiveScore, double negativeScore, string text, bool isNegated, int offset, int length);
static member AssessmentSentiment : Azure.AI.TextAnalytics.TextSentiment * double * double * string * bool * int * int -> Azure.AI.TextAnalytics.AssessmentSentiment
Public Shared Function AssessmentSentiment (sentiment As TextSentiment, positiveScore As Double, negativeScore As Double, text As String, isNegated As Boolean, offset As Integer, length As Integer) As AssessmentSentiment
Parameters
- sentiment
- TextSentiment
Sets the Sentiment property.
Returns
A new instance of AssessmentSentiment for mocking purposes.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET