Inspired by the work done by karpathy for organizing the papers by topics I created a script that takes someone's most-listened songs in lastfm and clusters the lyrics using LDA. It works with Python 2.7.
##Instruction
- Install pylast from https://code.google.com/p/pylast/
- Get the dev keys from lastfm: http://www.lastfm.it/api/account/create
- Copy the API key and the API secret in the
API_INFO.txt
file (two separate lines) - Open
main_track_lyrics_analysis.py
and replace the username with yours (line 16) - Run
python2 main_track_lyrics_analysis.py
and look at the results insongsnice.html
##Dependencies
- lyrics https://github.com/tremby/py-lyrics
- pylast https://code.google.com/p/pylast/
- lda https://github.com/shuyo/iir/tree/master/lda
- numpy
BSD license.