你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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