Natural Language Processing with spaCy & Python - Course for Beginners

Поділитися
Вставка
  • Опубліковано 4 чер 2024
  • In this spaCy tutorial, you will learn all about natural language processing and how to apply it to real-world problems using the Python spaCy library.
    💻 Course website with code: spacy.pythonhumanities.com/
    ✏️ Course developed by Dr. William Mattingly. Check out his channel: / pythontutorialsfordigi...
    ⭐️ Course Contents ⭐️
    ⌨️ (0:00:00) Course Introduction
    ⌨️ (0:03:56) Intro to NLP
    ⌨️ (0:11:53) How to Install spaCy
    ⌨️ (0:17:33) SpaCy Containers
    ⌨️ (0:21:36) Linguistic Annotations
    ⌨️ (0:45:03) Named Entity Recognition
    ⌨️ (0:50:08) Word Vectors
    ⌨️ (1:05:22) Pipelines
    ⌨️ (1:16:44) EntityRuler
    ⌨️ (1:35:44) Matcher
    ⌨️ (2:09:38) Custom Components
    ⌨️ (2:16:46) RegEx (Basics)
    ⌨️ (2:19:59) RegEx (Multi-Word Tokens)
    ⌨️ (2:38:23) Applied SpaCy Financial NER
    🎉 Thanks to our Champion and Sponsor supporters:
    👾 Wong Voon jinq
    👾 hexploitation
    👾 Katia Moran
    👾 BlckPhantom
    👾 Nick Raker
    👾 Otis Morgan
    👾 DeezMaster
    👾 AppWrite
    --
    Learn to code for free and get a developer job: www.freecodecamp.org
    Read hundreds of articles on programming: freecodecamp.org/news

КОМЕНТАРІ • 325

  • @wdonno
    @wdonno 2 роки тому +4

    I’ve come back to this video several times. The ONLY tutorial I’ve seen which walks through the whole process . The Python Tutorials for the digital humanities videos are also great. I am focused on biomedical text, but text is text when you are trying to get started.

  • @firdovsihasanzada
    @firdovsihasanzada 9 місяців тому +4

    50 minutes in and it is already the best practical explanation of how spaCy works.

  • @yugioh8307
    @yugioh8307 2 роки тому +9

    Best Helpline for those who really want to learn NLP with ease and for free , can't wait for part 2

  • @rublev88
    @rublev88 2 роки тому +103

    Yes! Please, definitely make a second part. I teach in the Humanities (college literature and creative writing classes), and I'm actively searching for tools I can use for creative experiments with texts.

    • @NickWindham
      @NickWindham Рік тому +1

      Check out Microsft Power Automate AI Builder

    • @engw7090
      @engw7090 Рік тому +6

      @@NickWindham hey is the second part out yet?

    • @krishnapatel8852
      @krishnapatel8852 9 місяців тому

      hey, I`m not getting the expected output at 1:57:26. It`s showing KeyError: 0. Can you help me with that?

    • @amberstiefel9748
      @amberstiefel9748 9 місяців тому +1

      Where do you teach?

  • @soumensarkar8967
    @soumensarkar8967 Рік тому +10

    Thank you Dr William for taking me through such wonderful journey on NLP - it was my first learning on this area of python application and i found it quite useful and excited to do some more. Looking forward to having your part 2 soon!

  • @lixx1278
    @lixx1278 2 роки тому +5

    Thank you very much for making this video. I want to create my own corpus to analyze data. But as a newbie to Python, I found it really hard to start without a clear direction. Looking forward to Part 2!

  • @rakshittherakki99
    @rakshittherakki99 2 роки тому +20

    Definitely interested in part2 of this course

  • @mohammadyusuf1636
    @mohammadyusuf1636 2 роки тому +13

    I was searching for Spacy tutorials yesterday, and FCC uploaded it, thank you 💝. Interested in part 2.

    • @muhammadsanwal4384
      @muhammadsanwal4384 2 роки тому +3

      Hi, can you tell where can i find the repository for the data?

  • @abhisheth588
    @abhisheth588 2 роки тому +50

    Bangers one after another. This channel is a treasure.

  • @pabloneirotti7945
    @pabloneirotti7945 Рік тому +4

    Thank you so much. The best course on SpaCy I have founded. Please make Part Two! We are waiting for it!

  • @markkertzner
    @markkertzner 2 роки тому

    i found this to be an excellent tutorial - very clear, great examples and thorough. thank you for sharing this and i look forward to seeing you continue with another covering machine learning in spacy.

  • @asmitadhikari1472
    @asmitadhikari1472 2 роки тому +4

    Awesome content there Dr. William. I was really hyped during the series and every aspects of spaCy you've described perfectly. Now I'm interested on ML aspect of spaCY and It'd be great if you come with ML aspect of spaCy.

  • @qutluq7794
    @qutluq7794 2 роки тому +6

    This video lesson was great. Looking forward to see the second part.

  • @lilacostaqueiroz8639
    @lilacostaqueiroz8639 2 роки тому +1

    Waiting for the second part ! This tutorial is perfect , thank you so much !

  • @laurentius2306
    @laurentius2306 2 роки тому +10

    Nice to see the connection of the real world and code because of NLP. Great to see real life implementations that are beneficial to humanity.

  • @TT-cf7xl
    @TT-cf7xl 2 роки тому +2

    You're a wizard, W.J.B. Mattingly! Sincerely yours, a stan

  • @paulmathew1214
    @paulmathew1214 Рік тому

    This is a great NLP tutorial. I have checked out a few others but this one here takes the cake. Thanks for the excellent resource!

  • @ioannisraptis243
    @ioannisraptis243 2 роки тому +1

    Excellent tutorial, thank you :) Looking forward to the second part!

  • @thomaspalka1919
    @thomaspalka1919 2 роки тому +2

    This video is fantastic! I would really appreciate part 2

  • @mattfichtner7100
    @mattfichtner7100 2 роки тому

    Outstanding overview of Spacy, can't wait for part 2! Thank you so much.

  • @roman445
    @roman445 2 роки тому +3

    I'm definitely interested in the ML aspects of spaCy) Thank you very much for the video!

  • @florianwill2536
    @florianwill2536 2 роки тому +1

    Thanks for sharing this enlighting stuff about the spaCy framework! Is there a date when you're gonna publish part 2? Can't wait to learn about the machine learning applications of spaCy.

  • @konstantinpluzhnikov4862
    @konstantinpluzhnikov4862 2 роки тому

    Thank you Dr. William. Looking forward for a part two.

  • @NickWindham
    @NickWindham Рік тому +1

    Your tutorials and your UA-cam channel are great. Thanks so much for sharing your knoledge online. So helpful and well made.

  • @anandachetanelikapati8387
    @anandachetanelikapati8387 2 роки тому

    Excellent tutorial. Straight into the subject. Hats off to you !!

  • @saziedhassan3976
    @saziedhassan3976 Рік тому

    Thank you such amazing content. This was so easy to follow and understand. Please do a 2nd part to the tutorial!! 🙏

  • @thesupermachak
    @thesupermachak 2 роки тому +1

    Clicked this video by accident but got hypnotised by the shirt and now I'm learning Python.

  • @tundescope
    @tundescope Рік тому +1

    Great video. Please make the second part ASAP. Keep up the good work.

  • @janabasogizon5214
    @janabasogizon5214 Рік тому +1

    Very very helpful stuff! 31 minutes in the video and I'm already using spacy for my own analyses! Thank you so much!

  • @anassalhi8191
    @anassalhi8191 2 роки тому

    I can't believe such good content is for free, thank you.

  • @abdelkaderbensaid432
    @abdelkaderbensaid432 2 роки тому +4

    Thank you! interested in part 2.

  • @jasonchesney9750
    @jasonchesney9750 Рік тому

    Very much interested in the machine learning aspect of SpaCy. Thank you, this course was informative and handy.

  • @stephenbradley445
    @stephenbradley445 Рік тому +2

    Definitely important to dig into the .similarity() output before using it in one's own work. One of its flaws is that it cares too much about the number of words in the spans being compared. For example:
    print(nlp2("fries").similarity(nlp2("burgers"))) = .65
    print(nlp2("fries").similarity(nlp2("hamburgers"))) = .58
    print(nlp2("fries").similarity(nlp2("ham burgers"))) = .70
    print(nlp2("french fries").similarity(nlp2("hamburgers"))) = .46
    print(nlp2("french fries").similarity(nlp2("ham burgers"))) = .64
    Also, I find that the small model correctly identifies West Chestertenfieldville as a GPE without modification, and I find that nlp.add_pipe("entity_ruler") does not add of the pipeline-description we see via nlp.analyze_pipes(). Rather, it seems that element of this description is in alphabetical order, and every nested sub-element is also in alphabetical order. I suspect this does not say anything about the true order of the pipeline.

  • @tthtlc
    @tthtlc 2 роки тому +3

    Everyone seemed to be asking for part 2, but this coverage is good enough - so good that I don't think it deserved a part 2, otherwise a large part is going to be lots of repetition. I will keep exploring deeper based on this video itself.

    • @tthtlc
      @tthtlc 2 роки тому +3

      There are also a lot of other resources available (and free), if u have time to go through: course.spacy.io/en/

    • @meherunnesaneela783
      @meherunnesaneela783 6 місяців тому

      @@tthtlc thank you so much! do you have other resources like that?

  • @sarasharick5209
    @sarasharick5209 2 роки тому

    I’ve been watching Dr. Mattingly’s other videos and they’re great.

  • @TheDouglasDale
    @TheDouglasDale 2 роки тому +1

    Thank you for the explanations. They are very clear and relevant. Excellent video.

  • @VincentFulco
    @VincentFulco 2 роки тому +2

    Really fascinating and accessible. Thank you.

  • @chenalbert2996
    @chenalbert2996 2 роки тому

    just finished 1/3 and I have to say very good introduction. thanks a lot on the sharing

  • @yifenghou986
    @yifenghou986 2 роки тому

    This is super awesome tutorial. Just what I need. Thanks!

  • @varunnayyar3138
    @varunnayyar3138 2 роки тому +70

    this is absurd, opened yt for NLP videos and it was uploaded 1 sec ago.

  • @RajaRamani.R
    @RajaRamani.R 2 роки тому +2

    Superb, Waiting for part 2 with thanks🙏👍

  • @MrShlomke24
    @MrShlomke24 Рік тому

    Awesome Video! Can't wait for part 2
    crossing my fingers 🤞🤞🤞

  • @fatimzhraannassiri
    @fatimzhraannassiri 2 роки тому +3

    Thank you 🙏 , Interested in part 2

  • @bilalmahmood9423
    @bilalmahmood9423 2 роки тому

    Thanks for your awesome introduction :). Would love to have your next course on using spaCy for ML.

  • @praise135
    @praise135 2 роки тому

    That was a very nice explanation and an awesome tutorial. Waiting for the machine learning part.

  • @martynsnwaokocha6982
    @martynsnwaokocha6982 2 роки тому

    Hi and thank you very much for your tutorial. I really enjoyed it and looking forward to the second part of the tutorial

  • @Superdooperhero
    @Superdooperhero 2 роки тому +1

    Can't wait for Part 2

  • @footballistaedit25
    @footballistaedit25 2 роки тому

    This video is very useful for me. Thanks for always bringing the great video. Mad respect from me

  • @10milesfromnowhere
    @10milesfromnowhere 2 роки тому

    Yes please for a part 2 on Machine Learning with Spacy!

  • @____kklw7148
    @____kklw7148 2 роки тому +1

    This is ready awesome teaching video. I feel highly interesting in the part two video.

  • @FedorablePenguin
    @FedorablePenguin 2 роки тому +3

    Where’s part 2!!! If there’s time in part 2, I would definitely be interested to know how to train ML to help with research and literature reviews as an example

  • @vasanthakumarg4538
    @vasanthakumarg4538 Рік тому

    Great work! Really a good video to learn using spaCy.

  • @kevinliu1142
    @kevinliu1142 2 роки тому +1

    Please make the second video about machine learning! this was so helpful

  • @javohirxusanov1229
    @javohirxusanov1229 2 роки тому +7

    Let's do the second part of it 🙂

  • @lilacostaqueiroz8639
    @lilacostaqueiroz8639 2 роки тому

    just perfect! Thank you very much :)

  • @joaopauloborges3866
    @joaopauloborges3866 Рік тому

    Thanks for this incredible class and textbook, it was very helpful. Greetings from Brazil

  • @michaelmatthaei7759
    @michaelmatthaei7759 2 роки тому

    Best Helpline for those who really want to learn

  • @hellocyberpolice
    @hellocyberpolice 2 роки тому +2

    Thank you ❤️

  • @mansouriwhafidoumansouri4706
    @mansouriwhafidoumansouri4706 9 місяців тому

    Thanks Great course and I love how easy and smooth the explanation is. Moreover I like how explaining each step before diving into it is really making the understanding easier for us to follow thanks a lot. BTW I've spent some time looking for the github account and repo related to this video here is it if anyone needs it to begin following the video, ENJOY...

  • @anumulakarthikreddy1195
    @anumulakarthikreddy1195 2 роки тому

    Enjoyed This video waiting for part2.

  • @sheshankjoshi
    @sheshankjoshi 2 роки тому +3

    Is there anyway I can donate to your channel ? You are the reason I could excel in my projects and landed with the job. I would like to express gratitude.
    (edit) : Okay, I found it out. My Bad.. I just did. Thanks again guys. Cheers.

  • @prasadcaher
    @prasadcaher 2 роки тому

    Eagerly waiting for the second part.

  • @amandaahringer7466
    @amandaahringer7466 2 роки тому

    This is very helpful, thank you!

  • @db44l
    @db44l 2 роки тому

    Greate tutorial, please make a second part!

  • @oarimen
    @oarimen Рік тому

    Thank you so much! Such a wonderful video.

  • @rexxwei8184
    @rexxwei8184 2 роки тому

    Such a nice video, 2nd part please!!

  • @hokapokas
    @hokapokas 2 роки тому

    Love the work you are doing. Many thanks from India

  • @aimenbaig6201
    @aimenbaig6201 2 роки тому

    Great resource!

  • @tatendamuzenda8442
    @tatendamuzenda8442 11 місяців тому

    very simple and easy to understand thank you for this

  • @brandonruiz1746
    @brandonruiz1746 2 роки тому

    Thanks for the depth with this library sir

  • @nsnilesh604
    @nsnilesh604 2 роки тому +1

    Waiting for 2nd part sir 👌🙏

  • @siddharthyadav3101
    @siddharthyadav3101 2 роки тому

    eagerly waiting for the second part..please upload it soon...

  • @giorgiacecchinato9449
    @giorgiacecchinato9449 2 роки тому +3

    Also an historian looking for ways to extract info from old documents. very looking forward to the second part.

    • @python-programming
      @python-programming 2 роки тому +2

      I am trying to have it out in early January.

    • @wdonno
      @wdonno 2 роки тому

      @@python-programming really looking forward to the next video. One topic I have not seen you address is the question of tools for Annotation. When working in specialized language domains, extra training of models is a key step. As a newcomer, I have not yet found a process compatible with Spacy which is reasonably efficient. Prodigy?

  • @arenter-balyan6746
    @arenter-balyan6746 2 роки тому

    Thanks a lot, and please make the second part.

  • @rodlu811
    @rodlu811 3 місяці тому

    Excelent!!! The best of the best!!!! Please do the second showing how to train the model.

  • @150yashwanth
    @150yashwanth Місяць тому

    Great Tutorial. Learnt a lot about SpaCy fundamentals.

  • @jamesallen2724
    @jamesallen2724 Рік тому

    Fantastic tutorial. Did part two ever get published?

  • @micahjesse6580
    @micahjesse6580 2 роки тому

    Please create Part 2!!!!! Part one was 🔥🔥🔥🔥🔥🔥🔥

  • @jeyasuriyam5185
    @jeyasuriyam5185 2 роки тому

    Thank you so Much. It is very helpful

  • @ammarabuzainah3918
    @ammarabuzainah3918 2 роки тому

    great video we are looking for the second part please

  • @venugudavalli
    @venugudavalli 2 роки тому +1

    Looking forward for Machine Learning aspects of Spacy.

  • @gurjeet333
    @gurjeet333 Рік тому

    Thanks for the wonderful videos

  • @fanzfanzilla
    @fanzfanzilla Рік тому +2

    This is very helpful. I am very new to Machine Learning and NLP. I am in a situation where I have thousands of documents which don't always have correct spellings. I have to analyze these documents to look for trends related to parts failure especially if the failure has resulted in death or injury. Ideally like to learn from the data that can inform the future failures before there is a death or injury. Can SpaCy help with this?

  • @TheMediinaa
    @TheMediinaa 2 роки тому

    The interesting thing is, the models are still being improved by spacy, so some values or predictions come different or better at the time I am trying the notebooks out (06/05/2022).

  • @FF4546
    @FF4546 Рік тому +8

    Thank you for the great video!
    When I run the most_similar method, copying the code on your notebook, I end up receiving a complete set of differemt words, some unrelated to the word and some in other languages. Example: country gave me ['country-0,467', 'nationâ\x80\x99s', 'countries-', 'continente', 'Carnations', 'pastille', 'бесплатно', 'Argents', 'Tywysogion', 'Teeters']
    Can somebody help me understand why this is happening?

    • @matthewhernandez9152
      @matthewhernandez9152 Рік тому +1

      Same here. Curious but...maybe the transformers/models (not sure which) are retrained thus giving us a different set of words? Hopefully someone can answer this!

  • @JayGhiyaGoogle
    @JayGhiyaGoogle 2 роки тому

    Thanks!

  • @machinimaaquinix3178
    @machinimaaquinix3178 2 роки тому +3

    Lol. spaCy's most recent build as of Feb 2, 2022 does properly identify West Chestertenfieldville as a GPE. ua-cam.com/video/dIUTsFT2MeQ/v-deo.html
    EDIT: Just finished the course - A phenomenal piece of work. Thanks so much for doing this. I can tell you put in an incredible amount of time and effort to do this and you provide it so graciously for free. It is so much clearer than spacy's documentation. They have a new spacy 101 so I'll give that a go now to cement this all in the nogin. And yes, eagerly awaiting part 2.

  • @miguelnuno928
    @miguelnuno928 2 роки тому

    this video is so engaging...

  • @ctRonIsaac
    @ctRonIsaac 7 місяців тому

    I would like the ML version too. So looking forward to seeing that

  • @LuisMorales-bc7ro
    @LuisMorales-bc7ro 11 місяців тому

    this content is amazing

  • @andrijor
    @andrijor 2 роки тому +1

    This tutorial is so freaking inspiring to me. NLP is so exciting and I'd love to integrate it with machine learning!!!!

    • @andrijor
      @andrijor 2 роки тому +2

      I'd be 100% down to watch a tutorial with part 2!!!!!

    • @python-programming
      @python-programming 2 роки тому +2

      Thanks! Good to know. I think I will start planning it this week.

    • @andrijor
      @andrijor 2 роки тому +1

      @@python-programming Hi hi, any updates on part 2? I hope everything's ok :)

    • @python-programming
      @python-programming 2 роки тому +2

      @@andrijor indeed! I am still working on it. Between the textbook and the video it takes a while to make. I am hoping to have it ready in early January.

    • @andrijor
      @andrijor 2 роки тому

      @@python-programming Looking forward to it! 😊

  • @alimahmoudmansour9681
    @alimahmoudmansour9681 Рік тому +1

    Thank you very much.
    Question, sir: Why do we build an entity ruler if we can simply verify the presence of the company's name in a normal list of company names?
    Is there a possibility to keep the nlp we built permanently stored and fill it with patterns consecutively over time? Or every time we call nlp.blank, the process must be repeated, and the names are fetched and stored?

  • @lookatmyprofilepictue8289
    @lookatmyprofilepictue8289 2 роки тому +2

    Nice

  • @andr_sh
    @andr_sh 2 роки тому

    Great video

  • @mohammedabdulrahman4056
    @mohammedabdulrahman4056 6 місяців тому +3

    can anyone give me the link of the repo that is being used

  • @DePhpBug
    @DePhpBug 5 місяців тому

    super interesting , already quickly subscribe both of the channels (y)

  • @advanceprogramming225
    @advanceprogramming225 2 місяці тому

    Thank you so much dear

  • @iNTERnazionaleNotizia589
    @iNTERnazionaleNotizia589 9 місяців тому +1

    Hi Guys, could someone inform me, which is the hardest to learn/master: Computer Vision OR NLP ?

  • @kiranchowdary8100
    @kiranchowdary8100 2 роки тому +2

    Please do part2 I badly need this tutorial

    • @python-programming
      @python-programming 2 роки тому +3

      Thanks for letting me know. I'll try it get it ready within the next few weeks.

    • @kiranchowdary8100
      @kiranchowdary8100 2 роки тому +1

      @@python-programming thanks man .you are a life saver

  • @gronan1000
    @gronan1000 Рік тому

    Hello Sir, Great tutorial. Hows part 2 coming? Cheers