Skip to content

algorithm to summarize texts, created from a tutorial in the medium

Notifications You must be signed in to change notification settings

davidgts/News-summarizer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

🌐 News summarizer

This project consists of a Python script that performs web scraping of an online article and then generates a summarization of the most important information contained in that article. The summarization is based on word frequency and sentence relevance.

📋 Prerequisites

Before running the script, make sure you have the following libraries installed:

You may also need to download linguistic resources using the nltk.download() command.

🚀 How to Use

  1. Clone the repository or download the script.

  2. Run the Python script, ensuring that all necessary libraries are installed.

  3. The script will perform web scraping on a sample article (you can replace the URL in the code to use a different article) and generate a summarization of the most important sentences.

  4. The most important sentences will be printed to the standard output.

🛠️ Customization

You can customize this project to use different article URLs or adjust summarization parameters, such as the number of most important sentences to display.

🎲 Languages and tools:

PYTHON

👤 Author

This project was created by wesleyclzns.

👥 Collaborators

This project was contributed by Davidgts

📄 License

This project is licensed under the MIT License - see the LICENSE for details.

About

algorithm to summarize texts, created from a tutorial in the medium

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%