In this video, look at the translation services. Like many other COG services, in order to use the service you need to register the Bing Spell Check API in Azure.
- Now as impressive as that spell-check API was, it is just one of the capabilities under the language portion of Microsoft Cog Services. So, if you click on the language portion there are a number of other capabilities. Now, I won't be able to show you each one of them but let's at least see a few more. So, for instance, next let's look at this Translator Text API. So, go ahead and click on this. In order to provision the Translator Text API you can just click on the Start Free button.
It will take you to the Azure Portal. Or you can go to the Azure Portal directly and provision a resource from here. So, click on this New button here, and search for the word Translate. Once you've searched for the word Translate, you should see Translator Text API show up as an Option. Go ahead and select it, and click on the Create button. Let's give it a name. I'm going to call it My Translate API.
Give it a pricing tier. So, I'll just go with a free tier. Use Existing. I'm going to put in the AI Resource Group, your resource group would obviously be different. And I'll choose to Confirm. And I'll choose to click on Create. Now, I almost clicked this Confirm button. It's like clicking I Agree. But this is one thing that I want you to pay attention to. It says Microsoft will use data you send to Cog Service to improve Microsoft products and services.
When you send portal data, etc., you can read this, but basically what they are trying to tell you is that whatever data you submit to Microsoft Cog Services, Microsoft can use that data. So, some clients may be a little nervous about sharing their data with Microsoft. That's a very valid concern. But I do think that for certain services you will see the capability of being able to export these models off like this well. There's an example currently in Get Up written using Escort in which there escorted a model that uses Division API, for instance.
So, I fully expect more and more of these capabilities to come through. Okay, so I clicked on the Create button. It is creating the resource for me. Once it creates the resource, I click on the Go To Resource button. And just as usual I go to the Overview A. And here I see an end-point. And I see this button called Show Access Keys. And just like before you need to capture this end-point and the access keys.
And make them a part of your code. So, I went ahead and grabbed the previous project that I was working with. And let's go ahead and open this in VS Code. So the spell-check project that I had will work for this as well. But I went in and cleaned everything out of index.ts. So everything that was then in index.ts, we don't need that anymore. And the and the config.ts, also, I went ahead and cleaned it. And this can serve as a good starter project for me.
For your convenience I have put the starter project here under Exercise Files, Chapter 3, in the Sixth folder, in the Start Folder. So go ahead and grab this or just clear out the previous code, and we can continue along with translating it.
- Exploring the possibilities of the Vision API
- Submitting an image to the Vision API for processing
- Asking the Vision API to recognize faces
- Working with the Speech API
- Writing speech-to-text code
- Working with the Language API
- Getting languages for translation
- Language Understanding (LUIS) concepts