Method | Description | |
---|---|---|
EntityLinkingServiceClient ( |
Initializes a new instance of the EntityLinkingServiceClient class, with a client-supplied HttpClient object. Intended primarily for testing.
|
|
EntityLinkingServiceClient ( |
Initializes a new instance of the EntityLinkingServiceClient class, with a client-supplied HttpClient object. Intended primarily for testing.
|
|
EntityLinkingServiceClient ( string subscriptionKey ) : System |
Initializes a new instance of the EntityLinkingServiceClient class.
|
|
EntityLinkingServiceClient ( string subscriptionKey, string apiRoot ) : System |
Initializes a new instance of the EntityLinkingServiceClient class.
|
|
LinkAsync ( string text, string selection = "", int offset ) : Task |
Linking entities in a text.
|
Method | Description | |
---|---|---|
SendRequestAsync ( string requestBody, string selection, int offset ) : Task |
Helper method executing the REST request.
|
public EntityLinkingServiceClient ( |
||
httpClient | the HttpClient object | |
subscriptionKey | string | The subscription key. |
return | System |
public EntityLinkingServiceClient ( |
||
httpClient | the HttpClient object | |
subscriptionKey | string | The subscription key. |
apiRoot | string | |
return | System |
public EntityLinkingServiceClient ( string subscriptionKey ) : System | ||
subscriptionKey | string | The subscription key. |
return | System |
public EntityLinkingServiceClient ( string subscriptionKey, string apiRoot ) : System | ||
subscriptionKey | string | The subscription key. |
apiRoot | string | Host name of the service URL, without the trailing slash. |
return | System |
public LinkAsync ( string text, string selection = "", int offset ) : Task |
||
text | string | the text. |
selection | string | the specific word or phrase within the text that is to be entity linked. If not specified, the service will try to recognize and identify all the entities within the input text. |
offset | int | the location (in offset by characters) of the selected word or phrase within the input text. Used to distinguish when there are multiple instances of the same words or phrases within the input text. Only valid when the selection is specified. |
return | Task |