Share via


TextAnalysisAuthoringModelFactory.DocumentEntityLabelEvalResult Method

Definition

Initializes a new instance of DocumentEntityLabelEvalResult.

public static Azure.AI.Language.Text.Authoring.DocumentEntityLabelEvalResult DocumentEntityLabelEvalResult(string category = default, int offset = 0, int length = 0);
static member DocumentEntityLabelEvalResult : string * int * int -> Azure.AI.Language.Text.Authoring.DocumentEntityLabelEvalResult
Public Shared Function DocumentEntityLabelEvalResult (Optional category As String = Nothing, Optional offset As Integer = 0, Optional length As Integer = 0) As DocumentEntityLabelEvalResult

Parameters

category
String

Represents the entity category.

offset
Int32

Represents the entity offset index relative to the original text.

length
Int32

Represents the entity length.

Returns

A new DocumentEntityLabelEvalResult instance for mocking.

Applies to