Skip to content

jacobabhihail-tech/dl-sentiment-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Sentiment Analysis using Machine Learning

πŸ“Œ Project Overview

This project is a simple Sentiment Analysis system that classifies text into:

  • Positive
  • Negative
  • Neutral

It uses Natural Language Processing (NLP) and Machine Learning to analyze user reviews.


πŸš€ Problem Statement

Companies receive thousands of user reviews daily.
Manually analyzing them is difficult.

This system automates sentiment detection from text data.


🧠 How It Works

Pipeline:

Text β†’ Cleaning β†’ Tokenization β†’ Vectorization β†’ Model β†’ Prediction

  • Text Cleaning: Removes noise (punctuation, symbols)
  • Tokenization: Breaks text into words
  • Vectorization: Converts text into numbers (CountVectorizer)
  • Model: Multinomial Naive Bayes

πŸ› οΈ Tech Stack

  • Python
  • Pandas
  • Scikit-learn
  • Joblib

πŸ“‚ Project Structure

dl-sentiment-analysis/
β”‚
β”œβ”€β”€ data/
β”œβ”€β”€ models/
β”‚ β”œβ”€β”€ sentiment_model.pkl
β”‚ └── vectorizer.pkl
β”‚
β”œβ”€β”€ notebook/
β”‚ └── sentiment_analysis.ipynb
β”‚
β”œβ”€β”€ src/
β”‚ └── predict.py
β”‚
β”œβ”€β”€ README.md

▢️ How to Run

  1. Clone the repo
  2. Navigate to project folder
  3. Run:
python src/predict.py

Example

Input : This movie is amazing

Output : Sentiment : Positive


πŸ‘¨β€πŸ’» Author

Abhihail Jacob

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors