Welcome to the YouTube Comment Sentiment Analysis project! This project allows you to gather comments from a YouTube video and perform sentiment analysis on them using a pre-trained RoBERTa model. You can also display the sentiment analysis results in graphical form.
To get started with this project, follow the steps below:
-
Python 3.x
-
Install the required Python packages by running the following command in your terminal:
pip install transformers scipy matplotlib pandas google-api-python-client
- Clone this repository to your local machine:
git clone https://github.com/danj0nes/YouTube-Comments-Analyser.git
- Navigate to the project directory:
cd YouTube-Comments-Analyser
- Create a file named key.txt in the project directory and add your YouTube Data API v3 key. You can obtain an API key from the Google Cloud Console.
python main.py
Contributions to this project are welcome! Feel free to open issues or submit pull requests for improvements or bug fixes.
This project is licensed under the MIT License.