Skip to content

Abdulrahman-S-Asiri/sentiment-analysis-project-Final

Repository files navigation

Sentiment Insight Logo

Sentiment Insight

Understand Feelings. Empower Decisions.

AI-powered Sentiment Analysis for Everyone


Brand Identity (click to expand)
  • Project Name: Sentiment Insight
  • Tagline: Understand Feelings. Empower Decisions.
  • Colors:
    • Primary: #4F8EF7
    • Secondary: #6C63FF
    • Accent: #F7B801
    • Background: #F4F6FB
    • Text: #22223B
  • Fonts: Poppins, Open Sans, Roboto
  • Logo: Simple, modern, emotion-inspired (see above)

Sentiment Analysis Project

Overview

This is a Sentiment Analysis Web Application built with FastAPI (Backend) and a simple HTML/CSS/JS Frontend. It allows users to input English text and get the predicted sentiment using a trained deep learning model (LSTM/BERT).

Features

  • 🔑 User Authentication (Login & Register)
  • 📝 Sentiment Prediction (7 Categories: sadness, disappointment, anger, neutral, happiness, excitement, gratitude)
  • 📊 History Tracking (stores past analyses)
  • 🌐 Simple Web Interface
  • 🗄️ Database Integration

Project Structure

sentiment-analysis-project-Final
 ├── backend/        # FastAPI backend, routers, database, entry points
 ├── frontend/       # Static HTML, CSS, JS files
 ├── model/          # Sentiment analysis model files
 ├── tests/          # Unit and API tests
 ├── requirements.txt
 ├── README.md
 ├── .env            # Not included in repo

Installation & Run

  1. Clone the repository

    git clone https://github.com/D7oomyalasere/sentiment-analysis-project-Final.git
    cd sentiment-analysis-project-Final
  2. Create and activate virtual environment

    python -m venv venv
    venv\Scripts\activate   # On Windows
    source venv/bin/activate # On Linux/Mac
  3. Install dependencies

    pip install -r requirements.txt
  4. Run the server

    uvicorn backend.main:app --reload
  5. Access the app


Notes

This project is still under development and can be improved with:

  • Advanced frontend (React/Vue)
  • Better model (Transformer-based like BERT)
  • Deployment online (Heroku, Render, etc.)
  • Deployment online (Heroku, Render, etc.).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors