LyricMood - Lyric Sentiment Analysis
jonlau (4)

Introducing LyricMood, a solo project that analyzes the sentiment of lyrics based of the positivity and negativity of the words. Using PHP, LyricMind is able to dynamically generate all of the content by leveraging the library simple_html_dom to scrap for lyrics and then using Finn Aarup Nielsen's research on lexicon to analyze text sentiment. LyricMood uses Nielsen's AFINN dictionary key pairings that rank words from a score of -5 to +5 to determine their positive or negative valence. Then taking the difference between the positive and negative words, we generalize the song's sentiment.

While there are some critical flaws with using this approach, it can also provide powerful insight into songs. Take a look at Perfect Duet (with Beyoncé) by Ed Sheeran. Immediately, the sea of green reveals the overwhelming positive sentiment. Thanks for stopping by and please enjoy experimenting with different songs. If you aren't sure what songs to look up, you can check out some of the popular artists or see if you're feeling lucky!

You are viewing a single comment. View All
ebest (664)

@jonlau Do you have a "rights reserved" thing?