How To Create Microsoft Cognitive Service Web Language Model API On Azure Portal

Prerequisites

  • Azure account.

Microsoft Cognitive Services provide us the ability to build apps with powerful algorithms, using just a few lines of code. These services work across devices and platforms, such as iOS, Android, and Windows, keep improving, and are easy to set up.

APIs, given below, are available under Microsoft Azure Cognitive Services.

  • Face API
  • Emotion API
  • Computer Vision API
  • Bing Speech API
  • Speaker Recognition API
  • Language Understanding Intelligent Service
  • Text Analytics API
  • Web Language Model API
  • Bing Spell Check API
  • Recommendations API
  • Academic Knowledge API
  • Bing Search APIs
  • Bing Autosuggest API
  • Translator Speech API
  • Translator Text API

Before reading this article, please go through the articles' links, mentioned below.

Now, let's discuss about the Web Language Model API and how to create Web Language Model API Service on Azure Portal.

Web Language Model API

Web Language Model API is a REST-based cloud service providing state-of-art tools for natural language processing. Using this API, your application can leverage the power of big data through language models trained on web-scale data collected by Bing in the EN-US market.

The Web Language Model REST API supports four lookup operations.

  • Joint (log10) probability of a sequence of words.
  • Conditional (log10) probability of one word given a sequence of preceding words.
  • List of words (completions) most likely to follow a given sequence of words.
  • Word breaking of strings that contain no spaces.

Word breaking

Insert spaces into a string of words lacking spaces, like a hashtag or part of a URL.

 

Joint probabilities

Calculate how often a particular sequence of words appear together.
  
Conditional probabilities

Given a sequence of words, calculate how often a particular word tends to follow.
  
Next word completions

Given a sequence of words, get the list of words most likely to follow.
  
Pricing Details

 

Create a new Web Language Model API in Azure Portal

Now, let's get started with the following steps.

Step 1

Sign in to the online Microsoft Azure Portal.

Step 2

Click “+NEW” and choose “Intelligence + Analytics”. Select “Cognitive Service API”.

  

Step 3

In the new account blade, enter the Account Name, select Subscription, and select API type as Web Language Model API from the list of available APIs.

Step 4

Next, we need to choose Location, Pricing tier, and Resource group.



Step 5

Next, we need to "Accept" the license term.

 

Step 6

Finally, click "Create" button to create a Cognitive Service.



A few minutes later, we will see that the Web Language Model API dashboard appears. Then, we can download the Web Language Model API and use them in our project.



A few minutes later, we will see that the Web Language Model API dashboard appears. Then, we can download the Web Language Model API and use them in our project.

 
Summary

So, this was how we create Web Language Model API on Microsoft Azure Portal.


Similar Articles