Share via


TextAnalyticsModelFactory.HealthcareEntityRelationRole Method

Definition

Initializes a new instance of HealthcareEntityRelationRole for mocking purposes.

public static Azure.AI.TextAnalytics.HealthcareEntityRelationRole HealthcareEntityRelationRole (string text, string category, int offset, int length, double confidenceScore, string entityName);
static member HealthcareEntityRelationRole : string * string * int * int * double * string -> Azure.AI.TextAnalytics.HealthcareEntityRelationRole
Public Shared Function HealthcareEntityRelationRole (text As String, category As String, offset As Integer, length As Integer, confidenceScore As Double, entityName As String) As HealthcareEntityRelationRole

Parameters

text
String

Sets the Text property.

category
String

Sets the Category property.

offset
Int32

Sets the Offset property.

length
Int32

Sets the Length property.

confidenceScore
Double

Sets the ConfidenceScore property.

entityName
String

Sets the Name property.

Returns

A new instance of HealthcareEntityRelationRole for mocking purposes.

Applies to