Page 1 of 1

nerd alert: all my lyrics in a word cloud

Posted: Fri Apr 26, 2013 10:30 am
by Manhattan Glutton
So there's a website that turns lyrics into a word cloud. http://www.wordle.net/
It analyzes the word frequency and places them in a random design where the bigger words are more frequent and the tiny words less.

Additionally, I have all of my lyrics on a private wiki because I'm a crazy person. To grab all of the pages texts I ran this SQL query:
select CONVERT(wiki_page.page_title USING utf8), CONVERT(wiki_text.old_text USING utf8)
FROM wiki_page
INNER JOIN wiki_revision
ON wiki_page.page_latest=wiki_revision.rev_id
INNER JOIN wiki_text
ON wiki_revision.rev_text_id=wiki_text.old_id

And then proceeded to clean up the result.

Well, here's one of the images it generated.
lyriccloud.png
lyriccloud.png (91.6 KiB) Viewed 1896 times

Re: nerd alert: all my lyrics in a word cloud

Posted: Fri Apr 26, 2013 10:32 am
by Billy's Little Trip
Yeah, we have a thread here with that and multiple people made one. I think it was back when the interwebz was invented. :geek:

Re: nerd alert: all my lyrics in a word cloud

Posted: Fri Apr 26, 2013 10:44 am
by Manhattan Glutton
I can bet that thread did not include such an awesome SQL statement.

Re: nerd alert: all my lyrics in a word cloud

Posted: Fri Apr 26, 2013 11:24 am
by Billy's Little Trip
You can also bet I don't know what SQL means. :D

Either way, it's cool how it does that. Now I can scratch that off my "they can put a man on the moon, but they can't make song lyrics into a collage" list.

Re: nerd alert: all my lyrics in a word cloud

Posted: Mon Apr 29, 2013 1:58 am
by jast
Manhattan Glutton wrote:I can bet that thread did not include such an awesome SQL statement.
Neither does this one.