 Hello everyone! Welcome back to our channel. It's been a long time since we have met you. I hope you all are doing well. You feel a little unwell. Whom do you tell your symptoms first? Google. Yes, you Google the symptoms. Find what is the thing that has made you unwell and then you move on to find a remedy for the same. In this project, we are going to make a virtual medical assistant. You need to tell your symptoms to him and he will tell what caught you and what shall you do next. Wonder how will the virtual medical assistant figure the disease as many have the couple of symptoms same? We are going to use the NLP extension. NLP stands for Natural Language Processing. This is the area of AI concerned with the interaction between computers and human in natural language. The aim of this extension is to help computers understand language as well as we do. Along with the NLP extensions, there are a lot of new features added to the latest version of pictoblocks. If you haven't downloaded it yet, you can download it from the link given in the description box below or the card above. Let's begin by setting up the stage. You can download the sprites of doctor and hospital from the link given in the description box. Once we set the stage, let's begin by training the text data for diseases. Let me elaborate. We need to train pictoblocks to analyze the text and perform the corresponding action. We will first add data that is the symptoms for three diseases. COVID-19, malaria and diabetes one by one. Go to the My Block Palette and create a block named Data for COVID-19. To make the text classifier, we need the Natural Language Processing extension. Add the NLP extension from the extension palette. Take the data for the COVID-19 hat block and drop an ad block below it. In place of text in the ad block, write the first command, dry cuff. In place of the class, write COVID-19. COVID-19 will be the name of the class. We are going to give the classifier three more symptoms to add to our class. You may add as many as you may find. Duplicate the ad block and write rest of the symptoms. Now, we similarly need to add text training blocks for the other two diseases. We will write three symptoms for each of them. Now, we need to train a classifier. Create a block named Train Data. Take the train data hat block and add a reset text classifier block below it. Add the data for COVID-19, data for malaria and data for diabetes stack blocks one after the other. Add a train text classifier block. Now that we have trained our text classifier, let's begin to write the script to make the virtual doctor say the name of the disease we have after we tell him our symptoms. Add a when flat clicked hat block to run the script. Drop the train data stack block below it. Let's make the doctor greet us. Add a say block from the looks palette. Write hello. Welcome to the virtual hospital in the first space. Next, we'll want the doctor to ask the symptoms. Thus, from the sensing palette, add a ask and wait block. Write, how are you feeling today? Please tell me your symptoms in the space given. Here is when we will write the symptoms and the doctor will tell us the disease and also the remedies for the same. Place an if block into the scripting area. Add an equal to block from the operator's palette. Inside the first space of the equal to block, drop a get class block from the NLP palette. In the second space, write COVID-19. Inside the get class of block, drop an answer block from the sensing palette. This will check the symptoms you enter with the text data. And if they matches with the COVID class, the doctor will say out the disease as COVID-19. Enter the if arm, place a say block. Place join block from the operator's palette. Write, you are infected with in the first space. Add another join block in the second space. Drop a get class of block from the NLP extension in the first space of the second join block. Write full stop to complete the sentence in the second space. Inside the get class of block, drop an answer block from the reporting palette. Now that we got to know the disease, doctor will say the remedy for the same. Place a say block from the looks palette and write the remedies into it. If you need to write more remedies, you can use multiple say blocks too. With this diagnosis of COVID is done. We will now follow the similar steps for malaria and diabetes as well. Duplicate the if block and make the changes respectively. With this, our script is complete. Press the green flag to start the script. Let's write the symptom as, I am feeling breathless and have been experiencing fever. Let's see what it detects. Yes, it got detected correctly. To take your project a step ahead, instead of typing your symptoms, you can use speech recognition blocks from the AI palette to recognize your voice and then diagnose the disease. Do share your project through the latest NLP extension in the Pictoblock script on Facebook, which you can join from the link given in the description box. If you like this video, give it a thumbs up and subscribe to STEMpedia. Stay safe, stay healthy. Bye bye.