Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Text Summarization Project

This project is an AI-powered text summarization tool created by Zain Qamar as Task 3 for the Certura Internship.

What is This Project?

This web application provides a simple yet powerful way to condense long articles, documents, or paragraphs into concise, easy-to-read summaries. The tool is designed to extract the most important sentences, preserving the core meaning of the original text.

Users can either paste text directly into a text area or upload a .txt file. The application then displays the summary along with statistics on the reduction in length and provides an option to download the summary as a text file.

How Does It Work?

The application's core logic is built with Python, using the Flask web framework to handle server requests. For the Natural Language Processing (NLP) tasks, it leverages the powerful spaCy library.

The summarization process is as follows:

  1. The user provides text via a textarea or file upload.
  2. The Flask backend receives the text.
  3. spaCy processes the text to understand its linguistic structure (tokenization, sentence segmentation, part-of-speech tagging).
  4. The algorithm calculates the frequency of important words (excluding common "stop words").
  5. Each sentence is scored based on the frequency of the words it contains.
  6. The highest-scoring sentences are selected to form the final summary.
  7. The summary and statistics are sent back to the frontend, which is built with HTML, CSS, and modern JavaScript to create a dynamic and responsive user experience.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages