Class LinkedEntity
java.lang.Object
com.azure.ai.textanalytics.models.LinkedEntity
The
LinkedEntity
model.-
Constructor Summary
ConstructorDescriptionLinkedEntity
(String name, IterableStream<LinkedEntityMatch> matches, String language, String dataSourceEntityId, String url, String dataSource) Creates aLinkedEntity
model that describes linked entity. -
Method Summary
Modifier and TypeMethodDescriptionGets the bingEntitySearchApiId property: Bing Entity Search unique identifier of the recognized entity.Gets the dataSource property: Data source used to extract entity linking, such as Wiki/Bing etc.Gets the id property: Unique identifier of the recognized entity from the data source.Gets the language property: Language used in the data source.Gets the linked entities matched property: List of instances this entity appears in the text.getName()
Gets the name property: Entity Linking formal name.getUrl()
Gets the url property: URL for the entity's page from the data source.
-
Constructor Details
-
LinkedEntity
public LinkedEntity(String name, IterableStream<LinkedEntityMatch> matches, String language, String dataSourceEntityId, String url, String dataSource) Creates aLinkedEntity
model that describes linked entity.- Parameters:
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.
-
-
Method Details
-
getName
Gets the name property: Entity Linking formal name.- Returns:
- The name value.
-
getMatches
Gets the linked entities matched property: List of instances this entity appears in the text.- Returns:
- The linked entities matched value.
-
getLanguage
Gets the language property: Language used in the data source.- Returns:
- The language value.
-
getDataSourceEntityId
Gets the id property: Unique identifier of the recognized entity from the data source.- Returns:
- The id value.
-
getUrl
Gets the url property: URL for the entity's page from the data source.- Returns:
- The URL value.
-
getDataSource
Gets the dataSource property: Data source used to extract entity linking, such as Wiki/Bing etc.- Returns:
- The dataSource value.
-
getBingEntitySearchApiId
Gets the bingEntitySearchApiId property: 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 and up.- Returns:
- The bingEntitySearchApiId value.
-