You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h1align="center">IMDb Movie Review Analysis and Recommendation System</h1>
2
-
<blockquotealign="center">Analyzing movie reviews and providing recommendations using Python and Streamlit. 🎬💻</blockquote>
3
-
<palign="center">For new data generation and <b>sentiment analysis</b>, we have written a Python script to fetch📊 data from IMDb, analyze sentiments, and provide movie recommendations, all converted into an interactive web app using Streamlit. 🌐📈</p>
1
+
# IMDb Movie Review Analysis and Recommendation System :film_projector:
2
+
Analyzing movie reviews and providing recommendations using Python and Streamlit. 🎬💻. We have created two part in this WebApp :sunglasses:!!! :
3
+
1. We have created a movie review analysis part.
4
+
2. We have created a movie recommendation part.
5
+
6
+
<palign="center">
7
+
For new data generation for <b>sentiment analysis</b> and <b>recommendation system</b>, we have written different Python script to fetch📊 data from IMDb, analyze sentiments, and provide movie recommendations, all converted into an interactive web app using Streamlit. 🌐📈</p>
8
+
4
9
5
10
## Features
6
11
7
12
-**Scraping Movie Reviews**: Collects user reviews from IMDb using BeautifulSoup.
8
-
-**Customizable Scraper**: Target specific movies and the number of pages to scrape.
13
+
-**Customizable Scraper**: Collects Movie Description from IMDb using Selenium.
9
14
-**Sentiment Analysis**: Uses Support Vector Machine (SVM) to classify reviews as positive or negative.
10
-
-**Recommendations**: Recommends top movies based on positive reviews.
15
+
-**Recommendations**: Recommends top movies based on content of previous movie watched by user .
11
16
-**CSV Output**: Saves the scraped data into a CSV file for further analysis.
12
17
13
18
## Installation
@@ -19,27 +24,62 @@
19
24
pip install requests
20
25
pip install pandas
21
26
pip install scikit-learn
22
-
27
+
pip install selenium
28
+
```
23
29
## Usage
24
30
31
+
### For Sentiment Analysis Part
32
+
25
33
1.**Run the scraping script** to collect movie reviews and save them into a CSV file. Open and execute the Jupyter notebook:
1.**Run the scraping script** to collect movie desciption and save them into a CSV file. Open and execute the Python Script.
46
+
47
+
***Note: you have to download web chromedriver and add it's path in Scrapper.py where it's mentioned driver path.***
33
48
34
-
3. **Run the Streamlit app:**
35
49
```bash
36
-
streamlit run app.py
50
+
python -u "Scrapper.py"
51
+
```
52
+
3.**Run the similarity_model generating script** to find out similarity we have made a model which we will use in our webapp. Open and execute the Jupyter notebook
53
+
54
+
***Note: you have to necessarily run this model.ipynb as this will download similarity.pkl which is the model we use in Streamlit Webapp***

0 commit comments