Bulk Text Analytics with Azure AI Language

Batch Natural Language Processing tasks in C# in 1 call

Matt Eland
AccessibleAI
Published in
16 min readDec 14, 2023

--

Azure AI Language Capabilities

In 2022 I wrote a series of articles on the various language capabilities in Azure AI Services (which was called Azure Cognitive Services at the time). In these articles I highlighted capabilities like:

While the natural language processing capabilities of Azure are impressive, one consistent gripe I had was that Azure didn’t offer a centralized API that could perform all of these tasks in a single operation.

I’m happy to share that Azure AI Services now has this capability.

In this article, I’ll detail how to make a single call to Azure AI Language services to perform multiple natural language processing (NLP) tasks.

Getting our Key and Endpoint

In order to use Azure’s text analytics libraries you will need the endpoint URL and one of the two active keys for either an Azure AI services resource or an Azure AI Language resource.

These values can be found in the keys and endpoint blade of the appropriate resource as shown here:

--

--

Matt Eland
AccessibleAI

Microsoft MVP in AI, AI Specialist at Leading EDJE. Author of "Refactoring with C#".