|
|
|
|
Lyricator
MAS.969 Midterm Project | October 2005
~ An emotional indicator of lyrics ~
|
|

|
This program analyzes the lyrical content of a song and classifies its emotional value. The user begins by inputing the name of an artist or band that they would like to search for, followed by the name of a specific song by this artist or band. Lyricator then searches a database of files containing the lyrics of popular songs and analyzes the emotional content of the chosen song.
This is done by using Albert Mehrabian's PAD representation (Pleasure/Arousal/Dominance) along with the OMCS corpus of raw sentences. Each word in the song is assigned a PAD value, which are then added together to give a total PAD score for the song. Using values from Scott Vercoe & Jae-woo Chung's "Affective Listener", the song is classified as either engaging (+P, +A), soothing (+P, -A), boring (-P, -A), or annoying/angry (-P, +A). In this case, the Dominance scores are discarded.
|
|
At the command line prompt, run the Lyricator script:
%> sh lyricator.sh
Please note that only a small number of lyric files have been included in this demo to keep
it relatively small. If you wish to analyze lyric files of your own, simply create a plain text file in a
similar format to those listed in the 'lyrics' directory. Be sure to place the file in the 'lyrics' directory.
As well, include the artist/band in the first line of your file and the song name in the second line. |
|