A Chrome Extension integrated with a Java Spring Boot backend that performs real-time sentiment analysis on product reviews using Stanford CoreNLP.
- Analyze product reviews or any text directly from the Chrome extension
- Backend powered by Stanford CoreNLP for deep learning-based sentiment analysis
- Returns sentiment as Positive, Negative, or Neutral
- Lightweight Chrome UI with instant feedback
- CORS-enabled API for secure communication between extension and backend
- Scalable architecture to integrate advanced NLP models in future
| Layer | Technology |
|---|---|
| Frontend | HTML, CSS, JavaScript (Chrome Extension) |
| Backend | Java, Spring Boot, REST APIs |
| NLP | Stanford CoreNLP (Java NLP library) |
| Build Tool | Maven |
/sentiment-analyzer-extension # Chrome Extension (Frontend) popup.html popup.js manifest.json /sentiment-analyzer-backend # Spring Boot Backend /controller /service /entity pom.xml
- Clone the repository
- Navigate to
/sentiment-analyzer-backend - Run
mvn clean install - Run the Spring Boot app on port
8090
- Navigate to
chrome://extensions/ - Enable Developer Mode
- Load the
/sentiment-analyzer-extensionfolder as an Unpacked Extension - Use the extension to analyze text sentiment
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/sentiment |
Returns sentiment label |
Request Example:
{ "sentiment": "This is a great product!" }