Giter Club home page Giter Club logo

sahilshukla3003 / prs-i Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 2.02 MB

Our AI-Based Product Review System uses NLP to analyze product reviews, offering users sentiment insights and personalized recommendations to enhance their shopping experience. For businesses, it provides valuable feedback and sentiment analysis to improve product offerings and customer satisfaction.

License: MIT License

Python 12.07% HTML 11.20% CSS 43.43% JavaScript 33.30%
artificial-intelligence django genai html-css javascript natural-language-processing nltk-python rest-api

prs-i's Introduction

PRS-I : AI-Based Product Review System

Introduction

This project is a cutting-edge product review analysis tool leveraging Natural Language Processing (NLP) to assess the sentiment of product reviews. The backend is built with Django, while the frontend is crafted using vanilla HTML, CSS, and JavaScript. The NLP model, developed with the NLTK library, predicts the sentiment of product reviews.

Demo

Product Review Analyzer

Demo Image

Personalized Reviews

Demo Image

Features

  • Product Link Entry: Users can input a product link, and the review text is automatically extracted from product pages on platforms such as Amazon and Flipkart.
  • Sentiment Analysis: The extracted review text undergoes analysis to determine its sentiment.
  • Sentiment Display: The sentiment analysis results are presented to the user, accompanied by a summarized review and a visual representation of the sentiment.
  • Personalized Reviews: Users can receive personalized reviews based on their past preferences and review history.

Review Scope

The AI product reviewer harnesses NLP techniques to:

  • Extract and process review text from various product pages.
  • Analyze and predict the sentiment of the reviews.
  • Provide users with comprehensive summaries and visual sentiment representations.
  • Offer personalized review recommendations based on user history.

Components

Chrome Extension (Entry Point)

The Chrome extension serves as the entry point, allowing users to effortlessly extract review text from product pages on major e-commerce platforms.

Main Website

  • User Authentication: Secure authentication for managing user accounts.
  • User History: Maintains a detailed history of analyzed reviews for each user.
  • Personalized Reviews: Delivers personalized review summaries and suggestions based on user preferences and past interactions.

REST API

The REST API connects the Chrome extension to the backend, handling:

  • Requests for review text extraction.
  • Communication with the NLP model for sentiment analysis.
  • Storage and retrieval of user history, authentication data, and personalized review data.

NLP Model

The NLP model, developed using the NLTK library, processes review texts to:

  • Clean and tokenize the text
  • Analyze sentiment using pre-trained models and custom algorithms
  • Generate sentiment scores and summaries for the reviews.

Database

A robust database system is used to:

  • Store user authentication details.
  • Maintain a history of analyzed reviews for each user.
  • Save sentiment analysis results, summaries, and personalized review data.

Installation

Prerequisites

  • Python 3.x
  • Django
  • NLTK
  • HTML, CSS, JavaScript
  • Chrome browser (for extension)

Steps

  1. Clone the Repository:
    git clone https://github.com/sahilshukla3003/AI-Based-Product-Review-System-PRS-I-.git
  2. Backend Setup:
    • Navigate to the backend directory.
    • Install the required Python packages:
      pip install -r requirements.txt
    • Run database migrations:
      python manage.py migrate
    • Start the Django server:
      python manage.py runserver
  3. Frontend Setup:
    • Open the frontend directory.
    • Serve the HTML file or set up a local server to view the frontend.
  4. Chrome Extension:
    • Load the Chrome extension by navigating to chrome://extensions/.
    • Enable Developer mode.
    • Click "Load unpacked" and select the extension directory.

Usage

  1. Open the Chrome Extension:

    • Enter the product page URL.
    • Extract review text.
  2. Analyze Review:

    • The review text is sent to the backend for sentiment analysis.
  3. View Results:

    • The sentiment, summary, and graphical representation are displayed on the main website.
  4. Personalized Reviews:

    • Users can view personalized review recommendations based on their previous interactions and preferences.

    image

Contributing

Contributions are welcome! Please fork the repository and create a pull request with your changes.

License

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

Contact

For any queries or support, contact us at [[email protected]].

prs-i's People

Contributors

sahilshukla3003 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.