GithubHelp home page GithubHelp logo

alexwavrant / youtube-comments-analysis Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.92 MB

This project is an Aspect-Based Sentiment Analysis of YouTube Comments.

Jupyter Notebook 64.66% Python 11.34% HTML 24.01%
natural-language-processing nlp lda gsdmm

youtube-comments-analysis's Introduction

Aspect-Based Sentiment Analysis of YouTube Comments

This project is an Aspect-Based Sentiment Analysis of YouTube Comments. There are four main notebooks:

  • comments-absa-lda: This is the main notebook. It contains the code for the topics modelling section with an LDA Model for the topics modelling section.
  • comments-extraction: Used to extract comments from a YouTube video and store them in an Excel file (note that some comments are already provided in comments_spreadsheets directory).
  • sentiment-analysis-evaluation: Used to evaluate the VADER Sentiment Analysis Model.
  • comments-absa-gsdmm: This is an additional notebook. It Contains the main code for the Aspect-Based Sentiment Analysis of YouTube Comments with a GSDMM Model for the topics modelling section.

How to Install and Run the Project

This project requires to create a conda environment using the following steps:

  1. From the terminal, go to the directory of the project.
  2. From the terminal, type the following command: conda env create -f requirements.yml
  3. After the packages are installed and the environment is set, you can set your IDE's interpreter using the newly created environment.

You are now ready to run the notebooks!

Run ABSA Using LDA Model

  1. Open the comments-absa-lda notebook.
  2. Pick a content creator from the list of available content creators available in the second cell of the notebook.
  3. Paste the selected content creator in the variable creator in the second cell of the notebook, below the list of creators.
  4. Run all the cells in the notebook.
  5. Results of the ABSA will appear at the bottom of the notebook.

Run ABSA Using GSDMM Model

  1. Open the comments-absa-gsdmm notebook.
  2. Pick a content creator from the list of available content creators available in the second cell of the notebook.
  3. Paste the selected content creator in the variable creator in the second cell of the notebook, below the list of creators.
  4. Run all the cells in the notebook.
  5. Results of the ABSA will appear at the bottom of the notebook.

youtube-comments-analysis's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.