Azure Cognitive Services: Language API's [Azure AI Applied Services : Part 4]

Published Jun 20 2022 08:59 PM 619 Views
Microsoft

Overview

This is a follow-up blog to 

Which AI am I ? [Azure AI Applied Services : Part 1]
Azure Cognitive Services: Vision API's [Azure AI Applied Services : Part 2]

Azure Cognitive Services: Speech API's [Azure AI Applied Services : Part 3]

In this blog we discuss in detail the applications for Language API services with the help of flow charts and graphs to help you understand its application.It will help if the intent is clear what is it that you wish to achieve through analyzing conversations (Eg: Sentiment Analysis, Keyword-extraction, Language detection, etc)

 

Azure Cognitive Services provides with Speech API's and Language API's which often overlap with the functionalities they cater.

Speech API's - Assist in spoken language transformations

Language API's - Understand conversations and unstructured text

The key differentiation factor amongst the choice you make between the 2 is the use case intent. If you only wish to transform the format in either real-time or in batches its recommended to go with Speech services approach. If you wish to dig deeper insights in terms detailed analysis of either spoken or written languages (Transform+Analyze+Filter) its recommended to go with Language services approach. 

 

Language API’s

Azure Cognitive Service for Language is a cloud-based service that provides Natural Language Processing (NLP) features for understanding and analyzing text. Use this service to help build intelligent applications using the web-based Language Studio, REST APIs, and client libraries. 

  • A Language resource - choose this resource type if you only plan to use natural language processing services, or if you want to manage access and billing for the resource separately from other services.
  • A Cognitive Services resource - choose this resource type if you plan to use the Language service in combination with other cognitive services, and you want to manage access and billing for these services together.

 

KMehta_0-1655451467211.png

 

1) Language Services

Azure Language service provides several Natural Language Processing (NLP) features to understand and analyze text. Language service unifies Text Analytics, QnA Maker, and LUIS. These features can either be:

  • Pre-configured, which means the AI models that the feature uses are not customizable. You just send your data, and use the feature's output in your applications.
  • Customizable, which means you'll train an AI model using our tools to fit your data specifically.

Features that can be implemented through LUIS and RestAPIs

 

KMehta_0-1655455197952.png

 

Features that can be implemented through LUIS , RestAPIs & Docker Containers

 

KMehta_1-1655454750331.png

 

(Note: For use case evaluation we have clubbed the features which can be deployed through LUIS & Rest API's under one section and the other which can be deployed with all 3 options : LUIS, RestAPI's and dockers. Off course since Azure keeps on integrating cognitive services with new functionalities please ensure you refer the reference links to be up to date with their implementations)

 

Language Service offerings all under one hood

KMehta_1-1655465733211.png

 

 

2) Language Understanding (LUIS)

Language Understanding (LUIS) is a cloud-based conversational AI service that applies custom machine-learning intelligence to a user's conversational, natural language text to predict overall meaning, and pull out relevant, detailed information.

Language Studio is a set of UI-based tools that lets you explore, build, and integrate features from Azure Cognitive Service for Language into your applications. Language Understanding (LUIS) is a cloud-based conversational AI service that applies custom machine-learning intelligence to a user's conversational, natural language text to predict overall meaning, and pull out relevant, detailed information. LUIS provides access through its custom portalAPIs and SDK client libraries.

 

KMehta_0-1655457926095.png

 

3) Translator Service

Azure Cognitive Services provides with Speech API's and Language API's which often overlap with the functionalities they cater.

The Speech service includes the following application programming interfaces (APIs):

  • Speech-To-Sext - used to transcribe speech from an audio source to text format.
  • Text-To-Speech - used to generate spoken audio from a text source.
  • Speech-To-Speech *Speech Translation - used to translate speech in one language to text or speech in another.

Where as Translator Service falling under Language API's provides Text-To-Text API's but this too involves language detection and conversion. Translator provides machine-based text translation in near real time.  The service uses modern neural machine translation technology and offers statistical machine translation technology. Custom Translator is an extension of Translator, which allows you to build neural translation systems. The customized translation system can be used to translate text with Translator or Microsoft Speech Services.

KMehta_0-1655459612071.png

 

4) QnA Maker

QnA Maker is a cloud-based Natural Language Processing (NLP) service that allows you to create a natural conversational layer over your data. It is used to find the most appropriate answer for any input from your custom knowledge base (KB) of information. QnA Maker is commonly used to build conversational client applications, which include social media applications, chat bots, and speech-enabled desktop applications.

(Note: The QnA Maker service is being retired on the 31st of March, 2025. A newer version of the question and answering capability is now available as part of Azure Cognitive Service for Language. For question answering capabilities within the Language Service, see question answering)

Question answering provides cloud-based Natural Language Processing (NLP) that allows you to create a natural conversational layer over your data. It is used to find the most appropriate answer for any input from your custom knowledge base (KB) of information. Question answering is commonly used to build conversational client applications, which include social media applications, chat bots, and speech-enabled desktop applications. Several new features have been added including enhanced relevance using a deep learning ranker, precise answers, and end-to-end region support.

 

KMehta_0-1655462508320.png

 

All Language API's under one hood (Graphs can be found here)

KMehta_0-1655467455408.png

 

References

  1. Language service
  2. Translator
  3. Language Understanding LUIS
  4. QnA Maker

Feature References

Future Reads

Next Article : Azure Cognitive Services: Decision API's [Azure AI Applied Services : Part 5]

Dont forget to share a KMehta_0-1655357052055.jpeg  if this helps

Credit: Thanks Varma Gandhiraji, Nathan Widdup, Shweta Gaur for reviews and guidance

FastTrack for Azure:  Move to Azure efficiently with customized guidance from Azure engineering. 

FastTrack for Azure – Benefits and FAQ | Microsoft Azure 

Co-Authors
Version history
Last update:
‎Jun 20 2022 09:37 PM
Updated by: