Ai Report FINAL
Ai Report FINAL
BELAGAVI – 590018
BACHELOR OF ENGINEERING
IN
COMPUTER SCIENCE AND ENGINEERING
AKHIL A [4JK22CS005]
DEEKSHITH V [4JK22CS012]
1
A J. INSTITUTE OF ENGINEERING AND TECHNOLOGY
(A UNIT OF LAXMI MEMORIAL EDUCATION TRUST®)
(Approved by AICTE, New Delhi, Affiliated by Visveswaraya Technological University, Belagavi)
Accredited By NBA (BE: CV, CSE, ECE, ISE & ME)
CERTIFICATE
This is to certify that the Assignment Work in entitled “AI News Summarizer” is a
bonafide work carried out by PRASHANTH S G USN: 4JK21CS045, AKHIL A
USN: 4JK22CS005, AMAL NAHAN N USN: 4JK22CS007 and DEEKSHITH V
USN: 4JK22CS012 students of 5th semester Bachelor of Engineering in
Computer Science and Engineering of Visvesvaraya Technological University,
Belagavi, submitted as a part of the course in Assignment during the academic year
2024-2025. It is to certify that all corrections/suggestions indicated for internal
assessment have been incorporated in the report. The project report has been approved
as it satisfies the academic requirements in respect of Project work prescribed for the
said degree.
Prof.Usha C S Dr.Antony PJ
Assistant Professor Vice Principal and HOD
2
ACKNOWLEDGEMENT
The joy and satisfaction that accompany the successful completion of any task would be
incomplete without the mention of the people who made it possible.
We would like to express our gratitude to our Principal, Dr. Shantharama Rai C for
providing us a congenial environment for engineering studies and also for guiding us to carry
out the project.
We consider it a privilege to express our sincere thanks to Dr.Antony PJ, Professor and
Head, Department of computer Science and Engineering for his support and valuable
guidance throughout the tenure of this project.
We would like to thank our Guide Prof Usha C S, Assistant Professor, Department of
Computer Science and Engineering for her support, guidance, motivation, encouragement
for the successful completion of this project.
We intend to thank all the teaching and non-teaching staff of our Department of Information
Science and Engineering for their immense help and co- operation.
Finally, we would like to express our gratitude to our parents and friends who always stood
by us.
PRASHANTH S G [4JK21CS045]
AKHIL A [4JK22CS005]
DEEKSHITH V [4JK22CS012]
3
ABSTRACT
The AI News Summarizer is a web-based application designed to provide concise summaries of news
articles and perform sentiment analysis on the content. Built using the Flask framework, this
application leverages Natural Language Processing (NLP) techniques to extract key points from
lengthy news articles, making it easier for users to quickly grasp essential information.
The system incorporates sentiment analysis to determine the emotional tone of the article—positive,
negative, or neutral—enhancing users' understanding of the context and perspective of the news. By
automating the summarization process, this project demonstrates the potential of AI in streamlining
information consumption and decision-making.
The development of the project focuses on simplicity, usability, and accuracy. It employs APIs to
fetch real-time news articles and integrates advanced text processing libraries to ensure the
summarization and sentiment analysis are effective and reliable. The project aims to showcase the
practical application of AI in solving everyday challenges and serves as an educational experience in
understanding the integration of machine learning with web technologies.
4
TABLE OF CONTENT
1 Introduction 7
2 SoftwareRequirement 10
Specification
3.1.3 Conclusion 24
3.2.1 References 26
5
LIST OF FIGURES
4.1 Snapshotofuserinterface 22
6
CHAPTER 1
INTRODUCTION
In the digital age, the volume of information accessible online has grown exponentially, making
it challenging for individuals to stay informed without investing significant time. News articles,
blogs, and online reports often contain extensive details, leaving readers overwhelmed when
they seek quick, relevant information. The AI News Summarizer is a solution designed to
simplify this process by leveraging advanced natural language processing (NLP) techniques to
generate concise, accurate summaries of news articles.
This project has been developed using Flask as the web framework, integrating various NLP
libraries and models to handle text processing tasks efficiently. The AI News Summarizer not
only demonstrates the potential of artificial intelligence in solving real-world problems but also
highlights its practical applications in the field of text analysis and data extraction.
By automating the summarization and sentiment analysis process, the tool saves users time and
effort, offering a seamless experience. Furthermore, it can serve as a foundation for more
advanced applications in journalism, content curation, and data-driven decision-making. This
project exemplifies the importance of AI in enhancing user interaction with digital information
and addresses the growing need for accessible, time-efficient solutions.
1. Time Efficiency: The summarizer saves time by distilling lengthy news content into
short, easily digestible summaries, enabling users to stay informed without reading full
articles.
2. Enhanced Comprehension: By highlighting the key points of an article, the tool
improves the user's understanding of critical information quickly and effectively.
3. Personalization: With integrated sentiment analysis, users can filter news based on
positive, negative, or neutral tones, making the consumption of news more tailored to
their preferences.
4. Accessibility: The summarizer is beneficial for students, professionals, and general
readers who need quick updates on current affairs or specific topics without investing
excessive time.
5. Real-World Applications: This tool can be used in industries like journalism,
education, and corporate environments where quick and accurate information
dissemination is critical.
By implementing natural language processing (NLP) techniques, this project demonstrates the
practical application of artificial intelligence in solving real-world problems. The project also
provides a learning platform for understanding core AI concepts, such as text summarization,
sentiment analysis, and Flask web application development.
Overall, this project not only serves as a solution for information overload but also as a stepping
stone for exploring advanced AI-driven applications in the future.
Introduction
The hardware and software requirements for the AI News Summarizer are designed to ensure
seamless performance and accessibility. On the hardware side, any standard desktop or laptop
with a stable internet connection is sufficient, as the application operates entirely in a web
browser. To ensure optimal functionality, an internet connection is required to fetch real-time
news data from external sources. Overall, the system is lightweight and designed to run
efficiently on most modern devices without requiring high-end hardware.
Purpose
The hardware ensures that the AI News Summarizer runs efficiently on standard devices,
providing the necessary resources for processing and real-time interaction. The software
enables the application’s functionality, using HTML, CSS, and Python to deliver an intuitive
user interface and handle back-end operations. Together, they create a seamless experience for
users to receive personalized summaries and sentiment analysis with minimal delay.
Scope
The scope of the AI News Summarizer extends to transforming the news consumption process
by offering personalized summaries and sentiment analysis for individual users. Specific
capabilities include:
The hardware requirements for the AI News Summarizer depend on the scale of the application
and whether the system is being run locally for development or deployed in a production
environment. Below are the general hardware specifications for both cases:
1. Processor (CPU):
o Minimum: Dual-core processor (Intel i5 or equivalent)
o A multi-core processor helps in faster data processing and model computation
when using machine learning libraries such as Transformers
2. RAM:
o Minimum: 4 GB / 8 GB or higher
o The amount of RAM is essential when working with large datasets, particularly
during text processing and model inference
3. Storage:
o Minimum: 1 GB of available disk space
o Sufficient storage is needed to store logs, models, and any other resources
o While a GPU is not strictly necessary for this project since it’s not deeply reliant
on deep learning models, a basic GPU (such as Intel HD Graphics or equivalent)
can be helpful for scaling the system to handle more complex models in the
future
The AI News Summarizer relies on various software tools and libraries that enable the
development, deployment, and functioning of the summarization and sentiment analysis
system. Below are the software requirements for the project:
• Operating System:
o Windows, macOS, or Linux (Ubuntu preferred) to support Python, Flask, and
development tools
• Programming Languages:
o Python 3.x: Backend development, text summarization, and sentiment analysis.
o HTML: Frontend structure and styling
• Databases/Storage:
o SQLite or PostgreSQL for storing user data and logs
• Libraries and Tools:
o NLTK (Natural Language Toolkit) for text processing
o Transformers (Hugging Face) for summarization models
o Flask for web application development
• API Integration:
o News API or similar services for fetching articles (optional)
The summarizer's conversational and responsive design ensures that users receive accurate and
relevant summaries tailored to their needs. Additionally, the tool incorporates sentiment analysis
to help users gauge the tone of the news at a glance, enhancing the decision-making process.
The backend is powered by advanced NLP techniques, leveraging state-of-the-art AI models for
summarization and sentiment detection, ensuring high-quality results while maintaining a fast
response time. This ensures a seamless experience for users who seek both speed and precision
in their news consumption.
Figure 3.2.1 is a simple and interactive interface for the AI News Summarizer application,
created using HTML and CSS. The index.html file provides the foundational structure and
design for the user interface, enabling users to input URLs of news articles for
summarization.The file includes a dark-themed layout styled with embedded CSS, enhancing
readability and user experience. It also incorporates Bootstrap for responsiveness and a clean
design
File:index.html
The figure 4.3 displays the output of the AI News Summarizer, showcasing the summarized
content, sentiment analysis, and additional article details. Users also have the option to
download the summary as a text file for offline use.
The primary benefit of AI news summarizers is their ability to process large amounts of content
and distill the most important information. They offer personalized summaries based on user
preferences and provide sentiment analysis, helping users gauge the emotional tone of
articles—whether positive, negative, or neutral. This feature enhances the summarization
experience, offering deeper insights into news content.
These tools are available 24/7, ensuring users can access the latest summaries at any time. The
scalability of AI news summarizers means they can handle vast amounts of data, making them
suitable for businesses, media organizations, and individuals alike. As AI continues to evolve,
these summarizers will become even more accurate, intelligent, and context-aware, providing
users with tailored news experiences.
Looking ahead, the integration of multilingual capabilities, IoT, and AR/VR will further
enhance the functionality of AI news summarizers, allowing users to interact with news in new
and innovative ways. The ongoing development of emotional intelligence in these systems will
ensure more personalized and intuitive interactions.
In conclusion, AI news summarizers are transforming the way we consume news by offering
faster, more efficient, and personalized solutions. As the technology advances, their potential
to revolutionize news consumption, providing relevant and timely information, will only
continue to grow.
[1] Sethi, P., Sonawane, S., Khanwalker, S., & Keskar, R. B. (2017, December). Automatic
text summarization of news articles. In 2017 International Conference on Big Data, IoT
and Data Science (BID) (pp. 23-29). IEEE.
[2] Gupta, A., Chugh, D., Anjum, & Katarya, R. (2022). Automated news summarization
using transformers. In Sustainable Advanced Computing: Select Proceedings of ICSAC
2021 (pp. 249-259). Singapore: Springer Singapore
[3] Malhotra, S., & Dixit, A. (2013). An effective approach for news article
summarization.International Journal of Computer Applications, 76(16).
[4] Akhmedova, A., Zhazhneva, I., & Galimov, G. (2024, September). System for News
Summarizing Using a Neural Network Algorithm. In 2024 International Russian
Automation Conference (RusAutoCon) (pp. 307-312). IEEE.
[5] Compaoré, I. F., Rodrique, K., Kader, K. A., & Aminata, S. (2024). AI-driven
Generation of News Summaries: large Leveraging GPT and Pegasus Summarizer for
Efficient Information Extraction
[6] Garg, A., Adusumilli, S., Yenneti, S., Badal, T., Garg, D., Pandey, V., ... & Agarwal, R.
(2021). NEWS article summarization with pretrained transformer. In Advanced
Computing: 10th International Conference, IACC 2020, Panaji, Goa, India, December
5–6, 2020, Revised Selected Papers, Part I 10 (pp. 203-211). Springer Singapore.
[7] Liu, Y. L., Cao, M., Blodgett, S. L., Cheung, J. C. K., Olteanu, A., & Trischler, A.
(2023). Responsible AI Considerations in Text Summarization Research: A Review of
Current Practices. arXiv preprint arXiv:2311.11103.
[8] Georgiev, G. (2023). Analyzing the performance of AI summarization with limited
resource allocation.