Coder Social home page Coder Social logo

subhadip0000 / youtube-sentiment-analysis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aviram2308/youtube-sentiment-analysis

0.0 0.0 0.0 596 KB

Fetch comments from the given video and determine sentiment towards the video is positive or negative

License: MIT License

Python 100.00%

youtube-sentiment-analysis's Introduction

YouTube-Sentiment-Analysis

Scrape all the YouTube comments using api.

Description :

This project works by scraping YouTube comments and identify the sentiment of comments.

The directory FancySentiment shows the WordCloud (most frequent words) of the comments.

The directory CommentSentiment shows the positive/negative sentiment (using NaiveBayesClassifier) of the comments.

Prerequisite :

Python 3

pip(Python Package Index) :

$ sudo apt-get install python3-pip

requests package :

$ sudo pip3 install requests

lxml package :

$ sudo apt-get install libxml2-dev libxslt1-dev python-dev

$ pip3 install lxml

matplotlib package :

$ sudo pip3 install matplotlib

nltk package :

$ sudo pip3 install nltk

wordcloud package :

$ sudo pip3 install wordcloud

How to run :

First input the API key in the file.

CommentSentiment/comment_extract.py

FancySentiment/comment_downloader.py

Then run the driver.py file.

youtube-sentiment-analysis's People

Contributors

sachin-bisht 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.