TextAnalysisAuthoringModelFactory.DocumentEntityLabelEvalResult 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 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.