TextAnalyticsClient.RecognizeLinkedEntitiesBatch Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RecognizeLinkedEntitiesBatch(IEnumerable<TextDocumentInput>, TextAnalyticsRequestOptions, CancellationToken) |
Runs a predictive model to identify a collection of entities found in the passed-in documents, and include information linking the entities to their corresponding entries in a well-known knowledge base. For a list of languages supported by this operation, see https://aka.ms/talangs. For document length limits, maximum batch size, and supported text encoding, see https://aka.ms/azsdk/textanalytics/data-limits. |
RecognizeLinkedEntitiesBatch(IEnumerable<String>, String, TextAnalyticsRequestOptions, CancellationToken) |
Runs a predictive model to identify a collection of entities found in the passed-in documents, and include information linking the entities to their corresponding entries in a well-known knowledge base. For a list of languages supported by this operation, see https://aka.ms/talangs. For document length limits, maximum batch size, and supported text encoding, see https://aka.ms/azsdk/textanalytics/data-limits. |
RecognizeLinkedEntitiesBatch(IEnumerable<TextDocumentInput>, TextAnalyticsRequestOptions, CancellationToken)
- Source:
- TextAnalyticsClient.cs
Runs a predictive model to identify a collection of entities found in the passed-in documents, and include information linking the entities to their corresponding entries in a well-known knowledge base.
For a list of languages supported by this operation, see https://aka.ms/talangs.
For document length limits, maximum batch size, and supported text encoding, see https://aka.ms/azsdk/textanalytics/data-limits.
public virtual Azure.Response<Azure.AI.TextAnalytics.RecognizeLinkedEntitiesResultCollection> RecognizeLinkedEntitiesBatch (System.Collections.Generic.IEnumerable<Azure.AI.TextAnalytics.TextDocumentInput> documents, Azure.AI.TextAnalytics.TextAnalyticsRequestOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member RecognizeLinkedEntitiesBatch : seq<Azure.AI.TextAnalytics.TextDocumentInput> * Azure.AI.TextAnalytics.TextAnalyticsRequestOptions * System.Threading.CancellationToken -> Azure.Response<Azure.AI.TextAnalytics.RecognizeLinkedEntitiesResultCollection>
override this.RecognizeLinkedEntitiesBatch : seq<Azure.AI.TextAnalytics.TextDocumentInput> * Azure.AI.TextAnalytics.TextAnalyticsRequestOptions * System.Threading.CancellationToken -> Azure.Response<Azure.AI.TextAnalytics.RecognizeLinkedEntitiesResultCollection>
Public Overridable Function RecognizeLinkedEntitiesBatch (documents As IEnumerable(Of TextDocumentInput), Optional options As TextAnalyticsRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RecognizeLinkedEntitiesResultCollection)
Parameters
- documents
- IEnumerable<TextDocumentInput>
The documents to analyze.
- options
- TextAnalyticsRequestOptions
TextAnalyticsRequestOptions used to select the version of the predictive model to run, and whether statistics are returned in the response.
- cancellationToken
- CancellationToken
A CancellationToken controlling the request lifetime.
Returns
A result containing the collection of entities identified for each of the documents, as well as scores indicating the confidence that a given entity correctly matches the identified substring.
Exceptions
DisableServiceLogs is only supported in service API version v3.1 and newer.
Service returned a non-success status code.
Applies to
RecognizeLinkedEntitiesBatch(IEnumerable<String>, String, TextAnalyticsRequestOptions, CancellationToken)
- Source:
- TextAnalyticsClient.cs
Runs a predictive model to identify a collection of entities found in the passed-in documents, and include information linking the entities to their corresponding entries in a well-known knowledge base.
For a list of languages supported by this operation, see https://aka.ms/talangs.
For document length limits, maximum batch size, and supported text encoding, see https://aka.ms/azsdk/textanalytics/data-limits.
public virtual Azure.Response<Azure.AI.TextAnalytics.RecognizeLinkedEntitiesResultCollection> RecognizeLinkedEntitiesBatch (System.Collections.Generic.IEnumerable<string> documents, string language = default, Azure.AI.TextAnalytics.TextAnalyticsRequestOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member RecognizeLinkedEntitiesBatch : seq<string> * string * Azure.AI.TextAnalytics.TextAnalyticsRequestOptions * System.Threading.CancellationToken -> Azure.Response<Azure.AI.TextAnalytics.RecognizeLinkedEntitiesResultCollection>
override this.RecognizeLinkedEntitiesBatch : seq<string> * string * Azure.AI.TextAnalytics.TextAnalyticsRequestOptions * System.Threading.CancellationToken -> Azure.Response<Azure.AI.TextAnalytics.RecognizeLinkedEntitiesResultCollection>
Public Overridable Function RecognizeLinkedEntitiesBatch (documents As IEnumerable(Of String), Optional language As String = Nothing, Optional options As TextAnalyticsRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RecognizeLinkedEntitiesResultCollection)
Parameters
- documents
- IEnumerable<String>
The documents to analyze.
- language
- String
The language that the documents are written in. If unspecified, this value will be set to the default language in DefaultLanguage in the request sent to the service. If set to an empty string, the service will apply a model where the language is explicitly set to "None".
- options
- TextAnalyticsRequestOptions
TextAnalyticsRequestOptions used to select the version of the predictive model to run, and whether statistics are returned in the response.
- cancellationToken
- CancellationToken
A CancellationToken controlling the request lifetime.
Returns
A result containing the collection of entities identified for each of the documents, as well as scores indicating the confidence that a given entity correctly matches the identified substring.
Exceptions
DisableServiceLogs is only supported in service API version v3.1 and newer.
Service returned a non-success status code.
Applies to
Azure SDK for .NET