Share via


TextAnalysisClient Class

Definition

The language service API is a suite of natural language processing (NLP) skills built with best-in-class Microsoft machine learning algorithms. The API can be used to analyze unstructured text for tasks such as sentiment analysis, key phrase extraction, language detection and question answering. Further documentation can be found in <a href="https://docs.microsoft.com/azure/cognitive-services/language-service/overview">https://docs.microsoft.com/azure/cognitive-services/language-service/overview</a>.0.

public class TextAnalysisClient
type TextAnalysisClient = class
Public Class TextAnalysisClient
Inheritance
TextAnalysisClient

Constructors

TextAnalysisClient()

Initializes a new instance of TextAnalysisClient for mocking.

TextAnalysisClient(Uri, AzureKeyCredential, TextAnalysisClientOptions)

Initializes a new instance of TextAnalysisClient.

TextAnalysisClient(Uri, AzureKeyCredential)

Initializes a new instance of TextAnalysisClient.

TextAnalysisClient(Uri, TokenCredential, TextAnalysisClientOptions)

Initializes a new instance of TextAnalysisClient.

TextAnalysisClient(Uri, TokenCredential)

Initializes a new instance of TextAnalysisClient.

Properties

Pipeline

The HTTP pipeline for sending and receiving REST requests and responses.

Methods

AnalyzeText(AnalyzeTextInput, Nullable<Boolean>, CancellationToken)

Request text analysis over a collection of documents.

AnalyzeText(RequestContent, Nullable<Boolean>, RequestContext)

[Protocol Method] Request text analysis over a collection of documents.

AnalyzeTextAsync(AnalyzeTextInput, Nullable<Boolean>, CancellationToken)

Request text analysis over a collection of documents.

AnalyzeTextAsync(RequestContent, Nullable<Boolean>, RequestContext)

[Protocol Method] Request text analysis over a collection of documents.

AnalyzeTextCancelOperation(WaitUntil, Guid, RequestContext)

[Protocol Method] Cancel a long-running Text Analysis job.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
AnalyzeTextCancelOperationAsync(WaitUntil, Guid, RequestContext)

[Protocol Method] Cancel a long-running Text Analysis job.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
AnalyzeTextOperation(MultiLanguageTextInput, IEnumerable<AnalyzeTextOperationAction>, String, String, CancellationToken)

Submit a collection of text documents for analysis and get the results. Specify one or more unique tasks to be executed as a long-running operation.

AnalyzeTextOperationAsync(MultiLanguageTextInput, IEnumerable<AnalyzeTextOperationAction>, String, String, CancellationToken)

Submit a collection of text documents for analysis and get the results. Specify one or more unique tasks to be executed as a long-running operation.

AnalyzeTextOperationStatus(Guid, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Get analysis status and results.

AnalyzeTextOperationStatus(Guid, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, RequestContext)

[Protocol Method] Get analysis status and results

AnalyzeTextOperationStatusAsync(Guid, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Get analysis status and results.

AnalyzeTextOperationStatusAsync(Guid, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, RequestContext)

[Protocol Method] Get analysis status and results

AnalyzeTextSubmitOperation(WaitUntil, MultiLanguageTextInput, IEnumerable<AnalyzeTextOperationAction>, String, String, CancellationToken)

Submit a collection of text documents for analysis. Specify one or more unique tasks to be executed as a long-running operation.

AnalyzeTextSubmitOperation(WaitUntil, RequestContent, RequestContext)

[Protocol Method] Submit a collection of text documents for analysis. Specify one or more unique tasks to be executed as a long-running operation.

AnalyzeTextSubmitOperationAsync(WaitUntil, MultiLanguageTextInput, IEnumerable<AnalyzeTextOperationAction>, String, String, CancellationToken)

Submit a collection of text documents for analysis. Specify one or more unique tasks to be executed as a long-running operation.

AnalyzeTextSubmitOperationAsync(WaitUntil, RequestContent, RequestContext)

[Protocol Method] Submit a collection of text documents for analysis. Specify one or more unique tasks to be executed as a long-running operation.

Applies to