Skip to content

MONISHKA1607/AI_Text_Summarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI_Text_Summarizer

Text Summarizer A Python application that summarizes text using the TextRank algorithm.

Features Automatic text summarization based on TextRank algorithm Customizable number of sentences in the summary User-friendly GUI with light and dark themes Word count and compression ratio statistics File import/export capabilities Requirements Python 3.x Required packages: nltk sklearn networkx tkinter (usually included with Python) Installation

Clone the repository

git clone https://github.com/yourusername/Text-Summarizer.git cd Text-Summarizer

Install required packages

pip install -r requirements.txt Usage Run the application by executing:

python gui.py Enter text in the input area or load it from a file Select the number of sentences for the summary Click "Summarize" to generate a summary Save the result to a file if needed How it Works The summarization engine uses a simplified implementation of the TextRank algorithm:

Splits the text into sentences Creates a similarity matrix using TF-IDF representation Builds a graph where sentences are nodes and similarities are edges Applies PageRank algorithm to rank sentences by importance Extracts the top N sentences while maintaining original order License MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages