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. |
| Modifier and Type | Method and Description |
|---|---|
String |
getBingEntitySearchApiId()
Gets the bingEntitySearchApiId property: Bing Entity Search unique identifier of the recognized entity.
|
String |
getDataSource()
Gets the dataSource property: Data source used to extract entity linking, such as Wiki/Bing etc.
|
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.
|
com.azure.core.util.IterableStream<LinkedEntityMatch> |
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.
|
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 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()
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.