Skip to content

Analyze IMDB movie reviews using machine learning to predict positive or negative sentiment. Built with Streamlit and scikit-learn. Includes text-to-speech, CSV export, visual summaries, and review history.

Notifications You must be signed in to change notification settings

Mjsentiment/imdb-sentiment-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฌ IMDB Sentiment Predictor

This interactive web app analyzes movie reviews and predicts their sentimentโ€”Positive ๐Ÿ˜Š or Negative ๐Ÿ˜žโ€”using a trained machine learning model and natural language processing. Built with Streamlit, it includes real-time predictions, data visualization, and optional voice playback.


๐Ÿ” Features

  • โœ… Clean NLP preprocessing with BeautifulSoup, regex, and stopword removal
  • ๐ŸŽ“ Machine Learning using a scikit-learn classifier and TF-IDF vectorizer
  • ๐Ÿ“Š Summary stats with visual feedback (positive/negative proportions)
  • ๐Ÿ’ฌ Text-to-speech playback of predictions (browser-based voice)
  • ๐Ÿ’พ Save and display recent reviews and predictions
  • ๐Ÿ“ Export all analyzed reviews to CSV

๐Ÿš€ Try it Online

๐Ÿ–ฅ๏ธ Deploy your own version or use this repo with Streamlit Cloud.

Just make sure your main app script is correctly set in the app configuration (e.g., sentiment_webapp.py or app.py).


โš™๏ธ Requirements

Install dependencies with: streamlit scikit-learn pandas beautifulsoup4 nltk pickle-mixin html5lib numpy requests streamlit==1.33.0 scikit-learn==1.4.1.post1 pandas==2.2.2 nltk==3.8.1 beautifulsoup4==4.12.3 dir

pip install -r requirements.txt
# imdb-sentiment-app

About

Analyze IMDB movie reviews using machine learning to predict positive or negative sentiment. Built with Streamlit and scikit-learn. Includes text-to-speech, CSV export, visual summaries, and review history.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages