public final class LinkedEntity extends Object
LinkedEntity
model.Constructor and Description |
---|
LinkedEntity(String name,
com.azure.core.util.IterableStream<LinkedEntityMatch> matches,
String language,
String dataSourceEntityId,
String url,
String dataSource)
Creates a
LinkedEntity model that describes linked entity. |
LinkedEntity(String name,
com.azure.core.util.IterableStream<LinkedEntityMatch> matches,
String language,
String dataSourceEntityId,
String url,
String dataSource,
String bingEntitySearchApiId)
Creates a
LinkedEntity model that describes linked entity. |
Modifier and Type | Method and Description |
---|---|
String |
getBingEntitySearchApiId()
Get the bingEntitySearchApiId property: Bing Entity Search unique identifier of the recognized entity.
|
String |
getDataSource()
Get the dataSource property: Data source used to extract entity linking, such as Wiki/Bing etc.
|
String |
getDataSourceEntityId()
Get the id property: Unique identifier of the recognized entity from the data source.
|
String |
getLanguage()
Get the language property: Language used in the data source.
|
com.azure.core.util.IterableStream<LinkedEntityMatch> |
getMatches()
Get the linked entities matched property: List of instances this entity appears in the text.
|
String |
getName()
Get the name property: Entity Linking formal name.
|
String |
getUrl()
Get the url property: URL for the entity's page from the data source.
|
public LinkedEntity(String name, com.azure.core.util.IterableStream<LinkedEntityMatch> matches, String language, String dataSourceEntityId, String url, String dataSource)
LinkedEntity
model that describes linked entity.name
- The entity Linking formal name.matches
- A list of instances this entity appears in the text.language
- The language used in the data source.dataSourceEntityId
- Unique identifier of the recognized entity from the data source.url
- URL for the entity's page from the data source.dataSource
- The data source used to extract entity linking, such as Wiki/Bing etc.public LinkedEntity(String name, com.azure.core.util.IterableStream<LinkedEntityMatch> matches, String language, String dataSourceEntityId, String url, String dataSource, String bingEntitySearchApiId)
LinkedEntity
model that describes linked entity.name
- The entity Linking formal name.matches
- A list of instances this entity appears in the text.language
- The language used in the data source.dataSourceEntityId
- Unique identifier of the recognized entity from the data source.url
- URL for the entity's page from the data source.dataSource
- The data source used to extract entity linking, such as Wiki/Bing etc.bingEntitySearchApiId
- Bing Entity Search unique identifier of the recognized entity. Use in conjunction
with the Bing Entity Search SDK to fetch additional relevant information. Only available for API version
v3.1-preview.2 and up.public String getName()
public com.azure.core.util.IterableStream<LinkedEntityMatch> getMatches()
public String getLanguage()
public String getDataSourceEntityId()
public String getUrl()
public String getDataSource()
public String getBingEntitySearchApiId()
Copyright © 2021 Microsoft Corporation. All rights reserved.