Skip to content

yuval728/NewsGenius

Repository files navigation

News Genius

News Genius is a comprehensive news aggregation platform that curates the latest news articles from various sources, providing users with up-to-date information on a wide range of topics. This app summarizes and translates news articles using a combination of machine learning models to detect the language of the article, translate it to English, summarize the content, and predict the sentiment of the article.

Features

  • Aggregates news from multiple sources
  • Detects the language of the article
  • Translates articles to English
  • Summarizes the content of the articles
  • Predicts the sentiment of the articles

Installation

  1. Clone the repository:
    git clone https://github.com/yuval728/news-genius.git
  2. Navigate to the project directory:
    cd news-genius
  3. Install dependencies:
    pip install -r requirements.txt

Usage

  1. Start the Streamlit app:
    streamlit run app.py
  2. Open your browser and navigate to the URL provided by Streamlit (usually http://localhost:8501).

How It Works

  1. Language Detection: The app uses a pre-trained language detection model to identify the language of the news article.
  2. Translation: If the article is not in English, it uses pre-trained translation models to translate the content to English.
  3. Summarization: The app summarizes the translated content to provide a concise version of the article.
  4. Sentiment Analysis: It predicts the sentiment of the summarized content, categorizing it as Positive, Neutral, or Negative.

Contributing

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes.
  4. Commit your changes (git commit -m 'Add some feature').
  5. Push to the branch (git push origin feature-branch).
  6. Open a pull request.

License

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

About

This app summarizes and translates news articles using a combination of machine learning models to detect the language of the article, translate it to English, summarize the content, and predict the sentiment of the article.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors