共用方式為


TextAnalysisModelFactory.HealthcareEntity Method

Definition

Initializes a new instance of HealthcareEntity.

public static Azure.AI.Language.Text.HealthcareEntity HealthcareEntity (string text = default, Azure.AI.Language.Text.HealthcareEntityCategory category = default, string subcategory = default, int offset = 0, int length = 0, double confidenceScore = 0, Azure.AI.Language.Text.HealthcareAssertion assertion = default, string name = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.HealthcareEntityLink> links = default);
static member HealthcareEntity : string * Azure.AI.Language.Text.HealthcareEntityCategory * string * int * int * double * Azure.AI.Language.Text.HealthcareAssertion * string * seq<Azure.AI.Language.Text.HealthcareEntityLink> -> Azure.AI.Language.Text.HealthcareEntity
Public Shared Function HealthcareEntity (Optional text As String = Nothing, Optional category As HealthcareEntityCategory = Nothing, Optional subcategory As String = Nothing, Optional offset As Integer = 0, Optional length As Integer = 0, Optional confidenceScore As Double = 0, Optional assertion As HealthcareAssertion = Nothing, Optional name As String = Nothing, Optional links As IEnumerable(Of HealthcareEntityLink) = Nothing) As HealthcareEntity

Parameters

text
String

Entity text as appears in the request.

category
HealthcareEntityCategory

Healthcare Entity Category.

subcategory
String

(Optional) Entity sub type.

offset
Int32

Start position for the entity text. Use of different 'stringIndexType' values can affect the offset returned.

length
Int32

Length for the entity text. Use of different 'stringIndexType' values can affect the length returned.

confidenceScore
Double

Confidence score between 0 and 1 of the extracted entity.

assertion
HealthcareAssertion

Assertion of the entity.

name
String

Preferred name for the entity. Example: 'histologically' would have a 'name' of 'histologic'.

links
IEnumerable<HealthcareEntityLink>

Entity references in known data sources.

Returns

A new HealthcareEntity instance for mocking.

Applies to