TextAnalyticsModelFactory.HealthcareEntityRelation Method

Definition

Initializes a new instance of HealthcareEntityRelation for mocking purposes.

public static Azure.AI.TextAnalytics.HealthcareEntityRelation HealthcareEntityRelation (Azure.AI.TextAnalytics.HealthcareEntityRelationType relationType, System.Collections.Generic.IEnumerable<Azure.AI.TextAnalytics.HealthcareEntityRelationRole> roles, double? confidenceScore);
static member HealthcareEntityRelation : Azure.AI.TextAnalytics.HealthcareEntityRelationType * seq<Azure.AI.TextAnalytics.HealthcareEntityRelationRole> * Nullable<double> -> Azure.AI.TextAnalytics.HealthcareEntityRelation
Public Shared Function HealthcareEntityRelation (relationType As HealthcareEntityRelationType, roles As IEnumerable(Of HealthcareEntityRelationRole), confidenceScore As Nullable(Of Double)) As HealthcareEntityRelation

Parameters

relationType
HealthcareEntityRelationType

Sets the RelationType property.

roles
IEnumerable<HealthcareEntityRelationRole>

Sets the collection of Roles property.

confidenceScore
Nullable<Double>

Set the ConfidenceScore property.

Returns

A new instance of HealthcareEntityRelation for mocking purposes.

Applies to