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.
Companies receive thousands of user reviews daily.
Manually analyzing them is difficult.
This system automates sentiment detection from text data.
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
- Python
- Pandas
- Scikit-learn
- Joblib
dl-sentiment-analysis/
β
βββ data/
βββ models/
β βββ sentiment_model.pkl
β βββ vectorizer.pkl
β
βββ notebook/
β βββ sentiment_analysis.ipynb
β
βββ src/
β βββ predict.py
β
βββ README.md
- Clone the repo
- Navigate to project folder
- Run:
python src/predict.pyInput : This movie is amazing
Output : Sentiment : Positive
Abhihail Jacob