Share via


TextAnalyticsModelFactory.HealthcareEntity Method

Definition

Initializes a new instance of HealthcareEntity for mocking purposes.

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

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.

Returns

A new instance of HealthcareEntity for mocking purposes.

Applies to