TextAnalysisAuthoringModelFactory.DocumentEntityRegionEvalResult 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 DocumentEntityRegionEvalResult.
public static Azure.AI.Language.Text.Authoring.DocumentEntityRegionEvalResult DocumentEntityRegionEvalResult(System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.Authoring.DocumentEntityLabelEvalResult> expectedEntities = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.Authoring.DocumentEntityLabelEvalResult> predictedEntities = default, int regionOffset = 0, int regionLength = 0);
static member DocumentEntityRegionEvalResult : seq<Azure.AI.Language.Text.Authoring.DocumentEntityLabelEvalResult> * seq<Azure.AI.Language.Text.Authoring.DocumentEntityLabelEvalResult> * int * int -> Azure.AI.Language.Text.Authoring.DocumentEntityRegionEvalResult
Public Shared Function DocumentEntityRegionEvalResult (Optional expectedEntities As IEnumerable(Of DocumentEntityLabelEvalResult) = Nothing, Optional predictedEntities As IEnumerable(Of DocumentEntityLabelEvalResult) = Nothing, Optional regionOffset As Integer = 0, Optional regionLength As Integer = 0) As DocumentEntityRegionEvalResult
Parameters
- expectedEntities
- IEnumerable<DocumentEntityLabelEvalResult>
Represents the region's expected entity labels.
- predictedEntities
- IEnumerable<DocumentEntityLabelEvalResult>
Represents the region's predicted entity labels.
- regionOffset
- Int32
Represents the region offset.
- regionLength
- Int32
Represents the region length.
Returns
A new DocumentEntityRegionEvalResult instance for mocking.