An open API service indexing awesome lists of open source software.

https://github.com/oussama-zbair/sentiment-analysis

Sentiment analysis tool scraping Arabic comments displaying results.
https://github.com/oussama-zbair/sentiment-analysis

beatifulsoup nltk-python python web-scraping

Last synced: 11 months ago
JSON representation

Sentiment analysis tool scraping Arabic comments displaying results.

Awesome Lists containing this project

README

          

# Sentiment Analysis on Hespress Comments

![Python](https://img.shields.io/badge/python-%2314354C.svg?style=for-the-badge&logo=python&logoColor=white) ![Pandas](https://img.shields.io/badge/pandas-%23150458.svg?style=for-the-badge&logo=pandas&logoColor=white) ![Flask](https://img.shields.io/badge/flask-%23000.svg?style=for-the-badge&logo=flask&logoColor=white) ![NLTK](https://img.shields.io/badge/nltk-%230078d7.svg?style=for-the-badge&logo=nltk&logoColor=white) ![BeautifulSoup](https://img.shields.io/badge/beautifulsoup-%2314354C.svg?style=for-the-badge&logo=python&logoColor=white)

This web application allows users to analyze the sentiment of comments on Hespress articles. It fetches comments from a Hespress article and classifies them as positive, negative, or neutral based on their sentiment.

## Introduction

This tool allows you to analyze the sentiment of comments on Hespress articles. You can fetch comments from a Hespress article and analyze their sentiment to classify them as positive, negative, or neutral.

## Getting Started

To get started with the app, follow these steps:

1. Clone the repository to your local machine.
**Clone the repository to your local machine:**
```bash
git clone https://github.com/your-username/sentiment-analysis.git
```
2. Install the required dependencies by running
```bash
pip install -r requirements.txt`
```
3. Run the Flask web server by executing `python app.py`.
4. Access the web app in your browser at `http://localhost:5000`.
5. Enter the URL of a Hespress article in the input field and click "Fetch and Analyze Comments".

## Usage

Once you've entered the URL of a Hespress article and clicked "Fetch and Analyze Comments", the app will display the sentiment analysis results, including the sentiment of each comment and a sentiment distribution chart.

## Contributing

Contributions are welcome! If you find any bugs or have suggestions for improvement, please open an issue or submit a pull request.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.