Skip to content

Commit cb66dd0

Browse files
authored
Merge pull request #96 from revanth1718/main
Added README File for Web_app Folder
2 parents 3f199b5 + b53c95e commit cb66dd0

File tree

2 files changed

+45
-8
lines changed

2 files changed

+45
-8
lines changed

Web_app/README.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<h1 align="center">IMDb Movie Review Analysis and Recommendation System</h1>
2+
<blockquote align="center">Analyzing movie reviews and providing recommendations using Python and Streamlit. 🎬💻</blockquote>
3+
<p align="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>
4+
5+
## Features
6+
7+
- **Scraping Movie Reviews**: Collects user reviews from IMDb using BeautifulSoup.
8+
- **Customizable Scraper**: Target specific movies and the number of pages to scrape.
9+
- **Sentiment Analysis**: Uses Support Vector Machine (SVM) to classify reviews as positive or negative.
10+
- **Recommendations**: Recommends top movies based on positive reviews.
11+
- **CSV Output**: Saves the scraped data into a CSV file for further analysis.
12+
13+
## Installation
14+
15+
1. **Install the dependencies:**
16+
```bash
17+
pip install streamlit
18+
pip install beautifulsoup4
19+
pip install requests
20+
pip install pandas
21+
pip install scikit-learn
22+
23+
## Usage
24+
25+
1. **Run the scraping script** to collect movie reviews and save them into a CSV file. Open and execute the Jupyter notebook:
26+
27+
```bash
28+
jupyter notebook notebooks/movie_review_imdb_scrapping.ipynb
29+
30+
2. **Navigate to the Web_app directory:**
31+
```bash
32+
cd Web_app
33+
34+
3. **Run the Streamlit app:**
35+
```bash
36+
streamlit run app.py
37+
38+
4. **Upload a CSV file** containing the reviews when prompted by the app.
39+
40+
41+
42+
43+
44+
45+

Web_app/instructions.txt

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)