共用方式為


TextAnalysisModelFactory.LinkedEntity Method

Definition

Initializes a new instance of LinkedEntity.

public static Azure.AI.Language.Text.LinkedEntity LinkedEntity (string name = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.EntityLinkingMatch> matches = default, string language = default, string id = default, string url = default, string dataSource = default, string bingId = default);
static member LinkedEntity : string * seq<Azure.AI.Language.Text.EntityLinkingMatch> * string * string * string * string * string -> Azure.AI.Language.Text.LinkedEntity
Public Shared Function LinkedEntity (Optional name As String = Nothing, Optional matches As IEnumerable(Of EntityLinkingMatch) = Nothing, Optional language As String = Nothing, Optional id As String = Nothing, Optional url As String = Nothing, Optional dataSource As String = Nothing, Optional bingId As String = Nothing) As LinkedEntity

Parameters

name
String

Entity Linking formal name.

matches
IEnumerable<EntityLinkingMatch>

List of instances this entity appears in the text.

language
String

Language used in the data source.

id
String

Unique identifier of the recognized entity from the data source.

url
String

URL for the entity's page from the data source.

dataSource
String

Data source used to extract entity linking, such as Wiki/Bing etc.

bingId
String

Bing Entity Search API unique identifier of the recognized entity.

Returns

A new LinkedEntity instance for mocking.

Applies to