This is a test sentiment analysis done using textblob library.
ABSTRACT
Sentiment analysis or opinion mining is the field of study related to analyze opinions, sentiments, evaluations, attitudes, and emotions of users which they express on social media and other online resources. The revolution of social media sites has also attracted the users towards video sharing sites, such as YouTube. The online users express their opinions or sentiments on the videos that they watch on such sites. This project presents a brief survey of techniques to analyze opinions posted by users about a particular video.
What is TextBlob?
TextBlob is a Python (2 and 3) library for processing textual data. It provides a simple API for diving into common natural language processing (NLP) tasks such as part-of-speech tagging, noun phrase extraction, sentiment analysis, classification, translation, and more. To get this this library, follow the command.
Install textblob by command
pip install textblob
How to run this file?
- first download video comments from youtube by running download_comm.ipynb specifying video tag, outfile file name and number of comment to download.
- then convert json file to csv by convert_json_to_csv.ipynb
- then run s_Analysis.ipynb file.
The result will be shown like