This repository offers a solution to analyze sentiments for a specified YouTube video.
-
YouTube Comment Scraping:
- Utilizes the video's ID to scrape comments from the YouTube platform.
-
Language Standardization:
- Converts all extracted comments into a unified language (English) for consistent analysis.
-
Sentiment Analysis Model:
- Employing a pre-trained sentiment analysis model. For simplicity, this example employs the VADER sentiment analysis tool.
-
Temporal Sentiment Trend Analysis:
- Calculates the sentiment trend over a specified time period to reveal fluctuations in sentiment over time.
- Input: Provide the YouTube video ID.
- Process:
- Scrapes comments associated with the provided video ID.
- Standardizes comments to English.
- Performs sentiment analysis using the chosen model.
- Computes sentiment trends over the specified time frame.
- Output: Presents sentiment trends graphically, offering insights into sentiment dynamics.
Live Demo: https://sentimentt-analysis.streamlit.app/