Top Songs Sentiment Analysis

August 26, 2019 - All

Sentiment Analysis is the process of determining whether a piece of writing is positive, negative or neutral. In this project, sentiment analysis is performed on the lyrics of the top 20 songs for the last 10 years. Song Title, Artist Name and Year in which the song was on the list were scrapped from billboard.com. Initially, musixmatch API was considered to call to get lyrics for each year’s top 20 songs. However, only 30% of each song’s lyrics could be extracted. Ultimately, Genius API-https://docs.genius.com/ was called to get lyrics of all the song titles scrapped from billboards website. Lexicon-based approach was used to calculate sentiment analysis for lyrics, where set of positive and negative words were used to identify polarity for each word in lyrics. Sentiment Analysis was visualized using Tableau Public, where positive and negative value for each song is displayed..

› tags: culture / programming / python /