Skip to content

Developed a Text Summarization App using natural language processing techniques to generate concise summaries of large text documents, improving content readability and accessibility.

License

Notifications You must be signed in to change notification settings

Rayyan9477/Text-Summarization-App

Repository files navigation

Text Summarization App

This is a web application for text summarization using various NLP techniques. The app leverages libraries such as SpaCy, NLTK, and Sumy to provide different summarization methods.

Features

  • SpaCy Summarization: Uses SpaCy for text summarization.
  • NLTK Summarization: Uses NLTK for text summarization.
  • Sumy Summarization: Uses Sumy with the LexRank algorithm for text summarization.
  • Web Scraping: Extracts text from web pages for summarization.

Installation

  1. Clone the repository: OR Download the Code

    cd text-summarization-app
  2. Create a virtual environment:

    python -m venv venv
  3. Activate the virtual environment:

    • On Windows:
      venv\Scripts\activate
    • On macOS/Linux:
      source venv/bin/activate
  4. Install the required packages:

    pip install -r requirements.txt
  5. Download SpaCy model:

    python -m spacy download en_core_web_sm

Usage

  1. Run the application:

    python app.py
  2. Open your web browser and go to http://127.0.0.1:5000/.

  3. Enter the text you want to summarize or provide a URL for web scraping.

  4. Choose the summarization method (SpaCy, NLTK, or Sumy) and click on the "Summarize" button.

Screenshots:

Home

Output

Stats

File Structure

  • app.py: The main Flask application file.
  • templates/: Contains the HTML templates for the web app.
  • static/: Contains static files like CSS and JavaScript.
  • requirements.txt: Lists the Python dependencies for the project.

Dependencies

  • Flask
  • SpaCy
  • NLTK
  • Sumy
  • BeautifulSoup4

Connect With Me

About

Developed a Text Summarization App using natural language processing techniques to generate concise summaries of large text documents, improving content readability and accessibility.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published