Use THIS Algorithm To Find KEYWORDS in Text - A Short Python Project

  Рет қаралды 48,825

John Watson Rooney

John Watson Rooney

Күн бұрын

Пікірлер: 53
@duadox
@duadox 2 жыл бұрын
Thank you so much for the video! You are also correct in that this is great practice for a newbie like myself. I am a researcher, so I have a lot of text files in my PC. Thanks to your video, I was able to convert your extract_text() into a function that opens local files with little effort. And then I looked up how to format decimals in the print function, and it turns out getting an even cleaner output with two decimal points is as easy as -> print("{:.2f}".format(rating), keyword). So thanks again for providing the opportunity and motivation to practice and learn more!
@JohnWatsonRooney
@JohnWatsonRooney 2 жыл бұрын
That’s great! I really wanted this to be exactly that - when I was learning finding projects to make and then build upon was key in the learning process!
@brightsde3511
@brightsde3511 2 жыл бұрын
This guy is definitly underated.
@laughterdaily_alljokesinside
@laughterdaily_alljokesinside 7 ай бұрын
TOtally he should have 1 million subs
@konigdererste4501
@konigdererste4501 Жыл бұрын
Exactly what I was searching for a long time. Thank you very much!
@dimaua1830
@dimaua1830 2 жыл бұрын
Thanks for the video! I love python because of ease of use and a multitude of handy little libraries like that!
@JohnWatsonRooney
@JohnWatsonRooney 2 жыл бұрын
Me too, there’s always something to learn and explore!
@giantdutchviking
@giantdutchviking Жыл бұрын
Thanks for sharing your knowledge. Started coding Python a few weeks ago through tutorials, ChatGPT and YT-vids. Started working with real data for the 1st time trying to do some basic text data analysis, this seems like a simply module to use, appreciate it.
@usmanghani8657
@usmanghani8657 2 жыл бұрын
I'm working on a project which includes scraping 200+ websites. You are great help on my way to complete project. God bless you sir and make all of us able to be more productive for the society. Big love 💌and respect from Pakistan Sir.
@JohnWatsonRooney
@JohnWatsonRooney 2 жыл бұрын
Thank you and good luck with your project!
@100daychallange5
@100daychallange5 2 жыл бұрын
Bro I need to make one generic script that will work on 3 sites with different structure. Is it possible and how I can do it?
@usmanghani8657
@usmanghani8657 2 жыл бұрын
@@100daychallange5 yes you can use callback funtinalty to acess any many pages you want and scrapy them.
@hossamal-dinhassan9652
@hossamal-dinhassan9652 2 жыл бұрын
Your channel is so helpful thanks for making this content
@AndresPerez-ow4lo
@AndresPerez-ow4lo 2 жыл бұрын
Hi Jhon, great video! I was wondering, once you extract the keywords from different web pages refeiring to similar topics, how would you compare them?
@tronovan3d
@tronovan3d 2 жыл бұрын
Neat, thanks for the video.
@colinrogers9927
@colinrogers9927 2 жыл бұрын
Awesome. Great video
@JohnWatsonRooney
@JohnWatsonRooney 2 жыл бұрын
Thanks!
@AlbertLeonardo
@AlbertLeonardo 2 жыл бұрын
Great video as usual! Thanks!
@JohnWatsonRooney
@JohnWatsonRooney 2 жыл бұрын
Thank you!
@KhalilYasser
@KhalilYasser 2 жыл бұрын
Thank you very much. Amazing tutorial.
@JohnWatsonRooney
@JohnWatsonRooney 2 жыл бұрын
Thank you very kind
@aviator1016
@aviator1016 2 жыл бұрын
Hey can you please tell me how to install the library into vs code. I have already installed it using pip installer from the terminal but everytime I get the message that import rake_nltk could not be resolved. Thanks
@JohnWatsonRooney
@JohnWatsonRooney 2 жыл бұрын
Hey sounds like maybe you have a Python path issue? Try running Python in your terminal and try importing it there and see if it works.
@hayat_soft_skills
@hayat_soft_skills 2 жыл бұрын
Superv! Thanks!
@vbp1996sx
@vbp1996sx 2 жыл бұрын
Hey Watson. Great video, very much appreciated. By the way are you working as a python developer irl? (asking out of curoisity)
@JohnWatsonRooney
@JohnWatsonRooney 2 жыл бұрын
No I’m not a full time developer! I do work some freelance though and use Python in my day job for task automation
@return_1101
@return_1101 2 жыл бұрын
Thank you very much. With your help I made a "keyword_searcher.py" with requests, bs4 rake_nltk and fake_useragent. It's amazing how to search for keywords.
@experiencinglunistice
@experiencinglunistice 2 жыл бұрын
Thank you very much
@nicholasgabaldon657
@nicholasgabaldon657 Жыл бұрын
Do you know the hostname it is trying to connect to when you import the nlk stopwords and punkt?
@vntconcept
@vntconcept 2 жыл бұрын
how about removing ads on wordpress theme?
@Hareesh-w3q
@Hareesh-w3q Жыл бұрын
Can I use this as a better alternative for the Text Analysis function of Power BI ?
@nbc2081
@nbc2081 2 жыл бұрын
Pls I want to build an algorithm that can use key words to rate articles which I want to use
@aniketbahukhandibtech-cse-9176
@aniketbahukhandibtech-cse-9176 2 жыл бұрын
hey john can u tell me how can i scrape geo location of crimes in my region. please reply..
@yusufcan1304
@yusufcan1304 11 ай бұрын
Thanks for share.
@sohanoor3291
@sohanoor3291 2 жыл бұрын
Hi Rooney, I need little help. Can we extract text from class instead of div using this method: response.html.find('div.class_name', first=True).text I tried, but now worked. Please help me. Regards
@anthony2921
@anthony2921 Жыл бұрын
there’s always a guitar in the background of code tutorial videos
@wangdanny178
@wangdanny178 2 жыл бұрын
Hey John me again. It’s in my watch later already. Thanks ahead
@JohnWatsonRooney
@JohnWatsonRooney 2 жыл бұрын
Nice I hope you like it
@michaelnoardo3315
@michaelnoardo3315 2 жыл бұрын
I'm trying to write a code to list the 1000 most used words in some language, I will feed the code with articles, books , movie subtitles... This will help people learning language to focus on what is most important, can you help me?
@atultanna
@atultanna 2 жыл бұрын
Can you share the code for scrape KW from Google Autosuggest
@cicerocostahernandez
@cicerocostahernandez 2 жыл бұрын
Hello John? Wassup? Nice video man! Let me ask you, in the URL you put the link from a website, but could I set a code in order to automatize the insertion of it using a database with the link and repeat the process for other websites? Another question, could I search for specific keywords in each website link, instead of all?
@olgaycelik2631
@olgaycelik2631 2 жыл бұрын
I am new to this so How and where to install nltk?
@codewithlenny
@codewithlenny 2 жыл бұрын
run pip install ntlk Once it's done. Open your terminal / command line and type the following commands > python > import nltk > nltk.download() This will open up a window that allows you to install the remaining nltk resources
@olgaycelik2631
@olgaycelik2631 2 жыл бұрын
@@codewithlenny thank you I have a last question: when I press print then I am getting those errors: * import bs4 could not be resolved from source *import requests could not be resolved from source So how to fix them?
@ztech3401
@ztech3401 2 жыл бұрын
sir , can I using this code for my app ?
@JohnWatsonRooney
@JohnWatsonRooney 2 жыл бұрын
Sure go ahead
@ThinAirElon
@ThinAirElon 2 жыл бұрын
Super 👍
@JohnWatsonRooney
@JohnWatsonRooney 2 жыл бұрын
Thank you!
@adnanyeasir7965
@adnanyeasir7965 2 жыл бұрын
I am having issue importing nltk
@GymPolar
@GymPolar 11 ай бұрын
Thankyou
@hamzakhiar3636
@hamzakhiar3636 2 жыл бұрын
Regex :👀
@PerfectmindAMV
@PerfectmindAMV 2 жыл бұрын
please, make a video of machine learning in python 🙂
@JohnWatsonRooney
@JohnWatsonRooney 2 жыл бұрын
Good idea thanks 🙏
This is How I Scrape 99% of Sites
18:27
John Watson Rooney
Рет қаралды 258 М.
Build anything with DeepSeek R1, here’s how
21:36
David Ondrej
Рет қаралды 399 М.
-5+3은 뭔가요? 📚 #shorts
0:19
5 분 Tricks
Рет қаралды 13 МЛН
Basic Keyword Clustering Example in Python
12:58
CourseNode
Рет қаралды 14 М.
How to extract semantic and meaningful keywords with BERT
8:21
Ahmed Besbes
Рет қаралды 21 М.
This free Chinese AI just crushed OpenAI's $200 o1 model...
4:41
Fireship
Рет қаралды 2,8 МЛН
Learn Machine Learning Like a GENIUS and Not Waste Time
15:03
Infinite Codes
Рет қаралды 419 М.
How I Would Learn Python FAST (if I could start over)
12:19
You're Not Behind: Become AI-Native in 2025
10:11
Jeff Su
Рет қаралды 336 М.
This Is Why Python Data Classes Are Awesome
22:19
ArjanCodes
Рет қаралды 824 М.
A new way to generate worlds (stitched WFC)
10:51
Watt
Рет қаралды 557 М.
Build anything with DeepSeek V3, here’s how
14:34
David Ondrej
Рет қаралды 262 М.