File size: 1,714 Bytes
0d2416d
8a8c01c
 
 
 
0d2416d
6008b9e
0d2416d
 
 
8a8c01c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
title: Universal Website Sentiment Analyzer
emoji: ๐Ÿ“Š
colorFrom: blue
colorTo: green
sdk: streamlit
sdk_version: 1.44.1
app_file: app.py
pinned: false
---
 
# ๐Ÿ“Š Universal Website Sentiment Analyzer
 
This Streamlit app analyzes text content from any website. It provides sentiment analysis and categorizes content by topic.
 
## Features
 
- Works with any website - no domain restrictions
- Extracts and analyzes text content from web pages
- Performs sentiment analysis (positive, negative, neutral)
- Categorizes content by topic (hiking, fees, facilities, etc.)
- Visualizes sentiment distribution across categories
- Shows confidence scores for sentiment analysis
- Generates word clouds from extracted text
- Attempts to identify fees, facilities, and activities when relevant
 
## Usage
 
1. Enter any website URL
2. Click "Analyze" to process the webpage
3. Explore the visualizations and extracted information
 
## Categories Analyzed
 
- Hiking: trail conditions, paths, hiking experiences
- Fees: costs, prices, payment information
- Equipment: gear, supplies needed for activities
- Water: lakes, rivers, water features
- Facilities: restrooms, visitor centers, amenities
 
## Example URLs
 
You can analyze any website, such as:
- Product reviews: https://www.amazon.com/product-reviews/...
- Travel destinations: https://www.tripadvisor.com/...
- Restaurant reviews: https://www.yelp.com/...
- News articles: https://www.cnn.com/...
- Blog posts: https://medium.com/...
 
## Technical Details
 
This app uses:
- Transformers library with DistilBERT for sentiment analysis
- SpaCy for natural language processing
- Beautiful Soup for web scraping
- Matplotlib and WordCloud for visualizations