TextAnalysisAuthoringModelFactory.DocumentSentimentLabelEvalResult 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 DocumentSentimentLabelEvalResult.
public static Azure.AI.Language.Text.Authoring.DocumentSentimentLabelEvalResult DocumentSentimentLabelEvalResult(Azure.AI.Language.Text.Authoring.TextAuthoringSentiment category = default, int offset = 0, int length = 0);
static member DocumentSentimentLabelEvalResult : Azure.AI.Language.Text.Authoring.TextAuthoringSentiment * int * int -> Azure.AI.Language.Text.Authoring.DocumentSentimentLabelEvalResult
Public Shared Function DocumentSentimentLabelEvalResult (Optional category As TextAuthoringSentiment = Nothing, Optional offset As Integer = 0, Optional length As Integer = 0) As DocumentSentimentLabelEvalResult
Parameters
- category
- TextAuthoringSentiment
Represents the sentiment category.
- offset
- Int32
Represents the sentiment offset index relative to the original text.
- length
- Int32
Represents the sentiment length.
Returns
A new DocumentSentimentLabelEvalResult instance for mocking.