Latest Posts
AI-102 Microsoft Azure AI – Translate language
Azure Translator Services Now the next section of the exam has to do with the translator service. Microsoft Azure Cognitive Services supports text to text translations as well as speechtospeech and speechtotext that is going from one language to another. If we look at the documentation for this, we can see that modern translation services use a technique called neural machine translation. So this is not just a simple dictionary lookup of one word into another, causing into the typical poor machine translation. Over time this has gotten better and…
AI-102 Microsoft Azure AI – Manage speech by using the Speech Service
Implement Text-to-Speech Using the Speech Service Now, in this section of the course, we’re going to be talking about knowledge mining solutions. The first element of that we’re going to be talking about is called Cognitive Search. Now, this used to be called Azure Search and now called Cognitive Search. Now, the really interesting thing about this is that you can basically create a search engine, point it at a set of documents, and Cognitive Search will go through that document and build an index for you that you can…
AI-102 Microsoft Azure AI – LUIS – Language Understanding Service
Overview of LUIS All right, so in this section of the course we’re talking about a new Azure service called the Language Understanding Service, which is abbreviated as Lewis. Now the Language Understanding Service is a new step that goes beyond the text analytics and speech analytics services we’ve seen previous in this course that you can take, take a bunch of texts, either written or spoken and have the computer understand keywords and phrases from that, maybe even summarize the text into a smaller subset of text. But now…
AI-102 Microsoft Azure AI – Implement Natural Language Processing Solutions
Detect Language using Text Analytics So this last one’s fairly straightforward after what we’ve already seen, simply being able to detect the language used in text. Now we are in the case of this, we’ll go into our GitHub repository, text Analytics Detect Language. Fairly short script. You can see it’s only a few lines and once again we’re using the rest APIs. So we’re going to call the API with a post and we got a response and we’re passing in and it looks like English, Spanish and probably…
AI-102 Microsoft Azure AI – Implement Knowledge Mining Solutions
Overview of Azure Cognitive Search So in this section, we’re moving on from the text analytics stuff to speech service. Now, speech service in some ways is completely different than text. And in other ways, oftentimes you’re going to use them together. So if you’re going to try to translate audio from one language to another, you’re going to do sort of speech to text, do a translation element and then do the text to speech. Now, the speech service does contain those two factors text to speech and speech…
Python Institute PCAP – Modules, Packages and Object Oriented Programming in Python Part 5
Python Packages Using Python modules. And all modules are is basically Python files with Python code in them. Another higher level way of organizing your code is into packages. And a package is basically just a collection of modules in directories that give it a sort of a package hierarchy. So you can have a folder within a folder within a folder that contains modules or Python files, and each of those folders can further have their own files in them. So hopefully you get the idea. So let’s go…
Python Institute PCAP – Modules, Packages and Object Oriented Programming in Python Part 4
Double Under (Dunder) Methods And these methods are used to enhance the features of our class. So we’ve been creating basic classes so far. And when we create an instance of that class, when we print it out, it doesn’t even give us a useful representation. So, for example, if I create a class called employee and I define the init method, make sure you use the def keyword before that. And let’s say to instantiate an employee, we need to give a name and age. And so we could…
Python Institute PCAP – Modules, Packages and Object Oriented Programming in Python Part 3
Abstract Classes and Methods Now what’s? An abstract class. Well, an abstract class is a kind of class that is not supposed to be used for creating objects from okay, you cannot create an instance of an abstract class meaning you can’t create an object out of an abstract class you’re not supposed to. Now, python does allow a little bit of this, and then you have to kind of design your program in such a way that it throws an error when someone tries to do anything with an…
Python Institute PCAP – Modules, Packages and Object Oriented Programming in Python Part 2
Classes Attributes vs Object Attributes Constructor, right, which is supposed to construct the object. And what are the two values that are needed to construct an object properly? We have a body type and then the make, okay? And this could be a very long list of values that are needed to construct depending on how you define a vehicle. So we want to keep things simple. And we only have two values here. This self, it’s just an automatic thing. We need to have the self be the first…
Python Institute PCAP – Modules, Packages and Object Oriented Programming in Python
Revisiting the Difference between Methods and Functions So to start with discussing object orientation, I want to make a distinction between functions and methods because I’ve used these terms so far in the course. And we’re going to build upon this and you’re going to understand why. What’s the difference between a function and a method? So let’s start with an example of a list, okay? And we’ll call it my list. And so this has numbers from three to four. Whatever this list, I can pop things from this…