A Chrome extension that helps analyze Google Reviews to determine their authenticity using machine learning and sentiment analysis.
- Real-time review analysis
- Fake review detection
- Sentiment analysis
- Detailed reasoning for predictions
- Report suspicious reviews
- Continuous model improvement through user feedback
- Frontend: Chrome Extension (JavaScript)
- Backend: Flask (Python)
- Machine Learning:
- NLTK for sentiment analysis
- Custom classifier for fake review detection
- Styling: TailwindCSS
- Build Tool: Webpack
- Clone the repository:
git clone [repository-url]- Install Python dependencies:
pip install -r requirements.txt- Install Node.js dependencies:
npm install- Build the extension:
npm run build- Load the extension in Chrome:
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked"
- Select the
distdirectory in your project folder
- Open Chrome and navigate to
- Start the Flask server:
python app.py- Make changes to files in the
srcdirectory - Rebuild the extension:
npm run build- Reload the extension in Chrome
├── extension/
│ └── src/
│ ├── externalHTML/
│ │ ├── error.js
│ │ └── feedback.js
│ └── reviews/
│ ├── background.js
│ ├── content.js
│ └── popup.js
├── ml/
│ ├── model.py
│ └── train_model.py
├── app.py
└── requirements.txt
- The extension monitors Google Review pages
- When a review is detected, it's sent to the Flask backend
- The backend processes the review using:
- NLTK sentiment analysis
- Custom trained classifier
- Results are displayed in the extension popup
- Users can report suspicious reviews
- The model is periodically retrained with user feedback
- NLTK for sentiment analysis
- TailwindCSS for styling
- Webpack for building