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