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

https://github.com/crypto-artisan/review-analysis

Sentiment Analysis for customer Reviews
https://github.com/crypto-artisan/review-analysis

Last synced: 2 months ago
JSON representation

Sentiment Analysis for customer Reviews

Awesome Lists containing this project

README

        

# Review Scraper
Website that scrapes Google for reviews of an item (product, movie, etc.) and runs sentiment analysis on result descriptions

LIVE at [reviewscrper.streamlit.app](https://reviewscrper.streamlit.app/)!

TIP: Be specific e.g. `PS5 console` not `PS5`

## What it uses
- *Huggingface* for sentiment analysis
- Uses `LiYuan/amazon-review-sentiment-analysis` for 1-5 star rating
- Uses `cardiffnlp/twitter-roberta-base-sentiment-latest` for positive/neutral/negative sentiment
- *Apify* for scraping Google
- *Streamlit* for hosting the website
- *WordCloud* for word clouds

## Demo
![screencapture-of-website](https://user-images.githubusercontent.com/80515759/224659991-f35ab6ad-9767-47cc-ab33-9b12daf4b3d0.png)

## How to host locally
1. Install requirements
```
pip install -r requirements.txt
```
3. Make an account on [Apify](https://apify.com/)
4. Create the file `/.streamlit/secrets.toml` with the contents:
```
APIFY_TOKEN='YOUR_API_TOKEN'
```
2. Run `main.py`
```
streamlit run main.py
```

## References
- Inspired by [nus-sentiment](https://github.com/nus-sentiment/nus-sentiment)