Transcript:
Hello, everyone! Welcome back again. My name is. Jesse and I need to this tutorial on Spacey. Learn about knitting, tentative ignition or detection, so what is named entity recognition named entity recognition is trying to recognize entities inside a test or a sentence, so we are trying to recognize real world objects or or like nouns or noun spiral events, which are usually seen as people who places organization inside a test, so it’s trying to classify a test into predefined categories or real world object, so let let’s see how it is so first of all the usefulness of this or the use case of this is since usually use when you are trying to classify or categorize contents by getting the relevant test and especially people who are working in the news agencies. Right, then it makes it easier, but they have a lot of articles which named entity recognition you to classify all the documents based on the people, the places and organizations making your work easier the same way it can also be used to improve search algorithms and then also to build to help build content recommendation since you have to identify entities in a test, be able to put them all together and animate it easier to get retrieve them right now. Let’s see an example. Finns right simple. So you start us spacy. You pour space in and initialize you. Create an NLP object so after that, let’s give it a simple two sentence. This is not same anyway, so a simple Vicky test, so let’s quit. NLP a normal object. Def it so this is A center descended to that by 2020 the telecom company, orange. Roo, we were relocated. We relocate from techie to Orange County in the US. Close to Apple to cost them about two million dollars. Now let’s try to analyze, send it and extract all the entities from this. So it will be forward in Wiki test. Right, Vicki Test Dot entity. That’s what we are doing so editing under the name hog. Neither so entity Cuckoo is print where the test for our tokens and everywhere, but live with record sliced will give us the hostel poly so that it’s just dream to extract all day entities inside it recognized them accordingly, but we want a stream that they pretend representation, right, okay, so see, that 2020 is a date, which is actually true. Turkey is a GPE Sola, which is what LCP you don’t understand -. Just go with specie, but explain. Then you just go with G. PE quintella that country cities and still eligible scar environment, right, so countries cities if state. So say, we just try that this tech here is not a chicken. It’s not very bad over chicken order. They live there anymore. The baked chicken. But is water the country? Orange County is not orange like the fruit, but is Radha and GP that is a Jupiter polka vomit or a country or city or state us to is also able to identify all the entities and and classify them accordingly, but this works distant. Make you work quite easier, so there’s one nice thing about this. You can also be able to plot this one with from going to plot it in a nice way to see it. It’s quite simple, so it’s going to be from specie import, displace right this place, it’s awesome, so not just going to display. See, don’t render because you are running it inside our cheapest ax with if it was in any DDD, Id or Nomad rapper, which is going to be safe, right, but they call this one is inside or and already seven browser. Just go to render, then we’re going to pass in our Center that you want to analyze a weekly test right then. The star got to choose is going to choosers. Start going to be ent, which is going to be for our entity, so they’re nesting. I can go to Jupiter. It’s called true Perfect. Let’s analyze it and see now intellect that’s analyze it directly, which is quite simple and quite easier so 2020 is a date let alone a relocate techies say country. Orange counties of the country or Jupiter environment Gbe. I don’t know what the E stands for in the US. Is GP. Apple is an organization, but it’s my food techies not anymore and it into Alice’s money, so it’s very, very easy, and it’s very, very powerful. Okay, now let’s see another sentence. Erica knows who do have another sentence here, right, which is going to be a sentence a protected from Wikipedia about the not. Stop us so you can just analyze it. Same thing, and when you go through it, wait, let’s render stuff come be able to use the same render to analyze this test, and then it’s good to tell us which is switch and then preach. Which of the mitten is a right entity. If it so let’s see, so let’s call it with test two, and if you analyze it. Fa just able to tell others from the sender denied, Then US. Benedicto Bob, right, it’s! A person it is quite interesting. Finish is a North American. It is not America, right. I said no not, I don’t know what is mid part. You can just take for it, which specie and yes, it just tells on either this if you don’t know, yes, dot, it’s easy to explain and over. P then nationalities over the Jewish political groups, which is quite nice, then Americans of twenty news, a critter blah, blah, blah. Linda’s movie scenes were in, but this is passing. This is an organization which is quite interesting and Android here is GP. I don’t know why, and this is JP, but I think that is how. I’ve seen it, there’s no risk of it, but I think this most of them is actually true, so that’s one way of using this named entity recognition inside spacing. There’s one thing that connects with. You sometimes can just be something that it’s quite easy to use logic right to you to do -. Let’s give it a simple example lets. Call it as my Yes. Let’s call it a defended. I put a doc one. Then you go to call it at. NLP would use something quite simple for it, you know so. I’m going to give it company like Facebook, Facebook and then explosion Ai. They were not quitted this to explosion dot. Ai, right, and then let’s use my please. I work the Icarus. Tech is an example all grids companies, right, they are all within Internet company companies. Let’s mix like that is this example, so if you analyze this test with distant released, you just want to analyze it. It’s going to give to recognize some of them and then give us the right each of it. So top one if I see that too to recognize that Facebook’s an organization, Eucharistic is also an organization. I don’t know why this one to give us, but let’s make it like this is pollution, lets. Try it and see what attributes you can land it. Otherwise there may be a key. Let’s go this, then let’s see. Oh, chief f-86 now. Now, every which recognize that this is a nagging agree. She expressed in here is like an evasion and you can stick it to another man visit. This is quite interesting, so thank you for watching this tutorial. You have any question or contribution and just put aside a comment. Sessions with everybody can benefit. Please don’t forget. Subscribe, stay, please.