TextAnalysisModelFactory.AnalyzeTextSentimentResult(SentimentResult) 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 AnalyzeTextSentimentResult.
public static Azure.AI.Language.Text.AnalyzeTextSentimentResult AnalyzeTextSentimentResult (Azure.AI.Language.Text.SentimentResult results = default);
static member AnalyzeTextSentimentResult : Azure.AI.Language.Text.SentimentResult -> Azure.AI.Language.Text.AnalyzeTextSentimentResult
Public Shared Function AnalyzeTextSentimentResult (Optional results As SentimentResult = Nothing) As AnalyzeTextSentimentResult
Parameters
- results
- SentimentResult
The sentiment analysis results.
Returns
A new AnalyzeTextSentimentResult instance for mocking.