Skip to content

YouTube Sentiment Analysis is a web application that analyzes the sentiment of YouTube comments, providing insights into comment sentiment using VADER sentiment analysis and interactive visualizations.

License

Notifications You must be signed in to change notification settings

JatinAgrawal0/youtube-comment-sentimental-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Sentiment Analysis 👍👎😊

This project provides a web application for sentiment analysis of YouTube comments. It allows users to input a YouTube link and analyzes the sentiment of the comments associated with that video. The application also displays video information, channel information, and visualizations of the sentiment analysis results.

Features ✨

  • Extracts the video ID from a YouTube link.
  • Retrieves comments from the specified YouTube video and saves them to a CSV file. 💬📑
  • Performs sentiment analysis on the comments using the VADER (Valence Aware Dictionary and sEntiment Reasoner) sentiment analysis tool. 😃😠😐
  • Generates bar charts and scatter plots to visualize the sentiment analysis results. 📊📈
  • Retrieves video and channel information from the YouTube API. 📺🔍
  • Provides an interactive web interface using Streamlit. 🌐✨

Installation 🛠️

  1. Clone the repository:

  2. Install the required dependencies:

  3. Obtain a YouTube Data API key from the Google Cloud Console and replace YOUR_API_KEY in app.py with your actual API key.

  4. Run the application:

Usage 🚀

  1. Open the application in your web browser.

  2. Enter a valid YouTube link in the sidebar. 🔗

  3. Wait for the application to retrieve the video and channel information, save the comments to a CSV file, perform sentiment analysis, and display the results. ⌛

  4. Explore the sentiment analysis results, video information, and channel information. 📈📺

Contributing 🤝

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License 📄

This project is licensed under the MIT License.

Releases

No releases published

Packages

No packages published

Languages