Summarize News Articles with Machine Learning in Python
ฝัง
- เผยแพร่เมื่อ 9 ก.พ. 2025
- In this video we learn to summarize news articles using natural language processing and machine learning in Python.
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
💻 The Algorithm Bible Book: www.neuralnine...
🐍 The Python Bible Book: www.neuralnine...
👕 Programming Merch: www.neuralnine...
🌐 Social Media & Contact 🌐
📱 Website: www.neuralnine...
📷 Instagram: / neuralnine
🐦 Twitter: / neuralnine
🤵 LinkedIn: / neuralnine
📁 GitHub: github.com/Neu...
🖥️ My Coding Setup 🖥️
⌨️ Keyboard: hyperurl.co/neu...
🖱️ Mouse: hyperurl.co/neu...
🖥️ Monitor: hyperurl.co/neu...
🎙️ Microphone: hyperurl.co/neu...
✏️ Drawing Tablet: hyperurl.co/neu...
🎵 Outro Music From: www.bensound.com/
🎯 Key Takeaways for quick navigation:
00:04 🚀 *Introduction to building a news summarizer with a graphical user interface in Python*
- Overview of the video's objective: building a news summarizer with a GUI in Python.
- Explanation of what the application will do: summarizing key content, author, publishing date, and performing sentiment analysis on news articles.
00:47 🖥️ *Demonstrating the GUI of the Final Application*
- Showcase of the graphical user interface for the news summarizer application.
- Walkthrough of using the application to summarize a news article from CNN Business.
04:01 🧠 *Summarization and Natural Language Processing (NLP)*
- Explanation of the summarization and NLP process using the newspaper library.
- Demonstration of how easy it is to implement summarization with libraries like nltk and textblob.
08:07 📊 *Sentiment Analysis Implementation*
- Introduction to sentiment analysis using the textblob library.
- Showcasing the calculation of polarity for determining the positivity or negativity of the analyzed text.
12:23 🖼️ *Building the Graphical User Interface (GUI)*
- Start of GUI creation using the tkinter library.
- Creation of labels, textboxes, and buttons for the title, author, publication date, summary, sentiment analysis, and URL input.
19:20 🛠️ *Connecting GUI with Summarization Functionality*
- Implementation of the "summarize" function to link the GUI button with the summarization process.
- Retrieving the URL input from the GUI, processing the article, and updating the relevant textboxes with the summarization results.
21:41 🛠️ *Configuring Text Boxes and Disabling Editing*
- Explanation of configuring text boxes to allow editing temporarily.
- Disabling text box editing after configuring to prevent user input during processing.
- Demonstrates code snippets for title, author, publication date, summary, and sentiment text boxes.
24:36 🔄 *Updating GUI with Summarization Results*
- Integrating the summarization and sentiment analysis results into the GUI.
- Demonstrating the process of updating each text box with relevant information.
- Completing the graphical user interface functionality and showcasing its usage with summarization results.
Man your Python tutorials are the BEST!!! They are so creative. Keep it up!
Thank you! :)
Found it a bit misleading by the title, but still a very educational video. This video is more about making GUI with tkinter rather than actual ML.
I really thought we were making a model for summarization.
Anyway, worth a watch!
Amazing job mate! Loved your video!
I would love if you could make a video about string matching. For example say we have a lexical database and we match it with some articles. If an article contains a word from our database, we keep it and categorise it. I'm asking too much :) Great work.
i like this alot. im trying to figure out how to make to analyze multiple articles from a section and save the data in sql.
I have learned a lot from this, thanks for the video.
Great!!!! It would be amazing if you can show how to develop your own model from scratch without using any libraries...
Why do these videos always end with the codes and don’t show the demo of the product in the end ?
Because they only want your views, and even replays.
@@lynic-0091ok i'm sorry it's 5 months ago, very outdated but i have to say, is your brain not functioning normally? Are you dumb? If you ACTUALLY watched the video instead of just scrolling to the end, you will see that at 0:40, he very carefully showed us how the program works. Anyways apologize but it's very annoying to see people not watching the video and state incorrect things on a very ambitious video. Anyways thanks for reading to this i think i got off track
Thanks sir, loved it!~
Though I have to mention the author name is not mentioned for all websites but for few only.
You are awesome as always
Thank you! :)
Great Video!!
Awesome tutorial. One of the best explanations. Thanks a lot sir. Really impressed
A fantastic tutorial, thank you for sharing.
where is the github code for this?
Useful coding.... Thanku so much✌️✌️
Hi, man..
thanks for your tutorial but any error from my code, can you fix it?
"While executing your .py file, have you checked that it is being done with the same python installation than when you call the Python IDLE or iPython where you can actually import it?"
whats a problem? thanks man.
aut = article.authors or 'NA'
author.delete("1.0",'end')
author.insert("1.0",str(f"{aut}"))
TK library can support null, if the author can't be generated, it will stop there and wont move forward. better convert the insert value into string.
Hi, this is Abstractive or Extractive?
Thank you so much
I tried running it on "I am very sad even though I should be happy." and the result was "positive" sentiment.
Bro i did it with like 1 star ratings for movies and pretty much each time it said positive
the tutorial is perfect
where can i find the source code for this or is it not available
was wondering the same
I like the video don't take it wrong, but there this only shows you how to use the "newspaper" library, you just call one function and everything is done. Does this works for other languages other than English?
also, 1/4 of the video you show another library called TK for creating a UI, which is not related with the main title of the video
man don't take it wrong, but you don't have to complicate stuff . Theres library for every other functionality in python, if want him to analyse the article by using some kinda loop then it would be waste of time and energy. Cheers mate
hey thank you su much. please i just want to know if its possible to summarize more? like if i want just 100 caractere
Super!
Can you send the this code?
Does it also work for .cms extension also ??
is this work for newspaper in spanish?
How to text summaries 100 flie in one program?
please can you be posting the source code on your github page?
How to create a working .exe file as the .exe i have created in not working.
awesome
thank you :)
whats the prerequisite for this?
Basic python skills :)
how i can ask u to send me the code plz ??
U can download it from his github account bro
Thanks bro
@@abdalrhmanalfawaier2141 did you get the code bro?
I cant find the code bros.