Created
November 23, 2011 10:25
-
-
Save vishnugopal/1388350 to your computer and use it in GitHub Desktop.
Convert anything to a Kolaveri song!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Kolaveri Lyrics here: | |
# http://www.lyricsmint.com/2011/10/why-this-kolaveri-di-lyrics-video-tamil.html | |
input = "Hey Jude, don't make it bad | |
Take a sad song and make it better | |
Remember to let her into your heart | |
Then you can start to make it better | |
Hey Jude, don't be afraid | |
You were made to go out and get her | |
The minute you let her under your skin | |
Then you begin to make it better | |
And anytime you feel the pain, hey Jude, refrain | |
Don't carry the world upon your shoulders | |
For well you know that it's a fool who plays it cool | |
By making his world a little colder | |
Nah nah nah nah nah nah nah nah nah | |
Hey Jude, don't let me down | |
You have found her, now go and get her | |
Remember to let her into your heart | |
Then you can start to make it better | |
So let it out and let it in, hey Jude, begin | |
You're waiting for someone to perform with | |
And don't you know that it's just you, hey Jude, you'll do | |
The movement you need is on your shoulder | |
Nah nah nah nah nah nah nah nah nah yeah | |
Hey Jude, don't make it bad | |
Take a sad song and make it better | |
Remember to let her under your skin | |
Then you'll begin to make it | |
Better better better better better better, oh" | |
WHITELIST = ["Yo", "boys", "i", "were", "be", "holi", "it", "oh", "you're", "the", "you", "are", "make", "take" "am", "for", "a", "to", "your", "maama", "moonu", "rhythm", "sariya", "vaasi", "super", "dark"] | |
def kolaverize(input) | |
input.gsub!(/Hello/i, "Yo boys") | |
input.gsub!(/Hey/i, "Yo boys") | |
input.gsub!(/Hi/i, "Yo boys") | |
input.gsub!(/I've been/i, "i am") | |
input.gsub!(/I have been/i, "i am") | |
input.gsub!(/I've/i, "i am") | |
input.gsub!(/I have/i, "i am") | |
input.gsub!(/Mother/, "Maama") | |
input.gsub!(/Mum/, "Maama") | |
input.gsub!(/mother/, "Maama") | |
input.gsub!(/mum/, "Maama") | |
input.gsub!(/moon/, "moonu") | |
input.gsub!(/correct/, "sariya") | |
input.gsub!(/holy/, "holi") | |
input = suffix_u(input) | |
input << "\nWhy this kolaveri kolaveri kolaveri di [x4]\nFlop song" | |
end | |
def suffix_u(input) | |
input = input.squeeze(' ').split("\n").collect do |sentence| | |
sentence.split(' ').collect do |word| | |
unless WHITELIST.map(&:downcase).include?(word.downcase) | |
word_sanitized = "#{word.gsub(/[^A-Z]/i, "")}" | |
if ['d', 's', 'e'].include?(word_sanitized[-1]) | |
"#{word_sanitized}-la" | |
else | |
"#{word_sanitized}-u" | |
end | |
else | |
"#{word}" | |
end | |
end.join(" ") | |
end.join("\n") | |
input.gsub(/\n\n/m, "\nWhy this kolaveri kolaveri kolaveri di!\n\n") | |
end | |
puts kolaverize(input) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Yo boys Jude-la dont-u make it bad-la | |
Take-la a sad-la song-u and-la make it better-u | |
Remember-u to let-u her-u into-u your heart-u | |
Then-u you can-u start-u to make it better-u | |
Why this kolaveri kolaveri kolaveri di! | |
Yo boys Jude-la dont-u be afraid-la | |
You were made-la to go-u out-u and-la get-u her-u | |
The minute-la you let-u her-u under-u your skin-u | |
Then-u you begin-u to make it better-u | |
Why this kolaveri kolaveri kolaveri di! | |
And-la anytime-la you feel-u the pain-u Yo boys Jude-la refrain-u | |
Dont-u carry-u the world-la upon-u your shoulders-la | |
For well-u you know-u that-u its-la a fool-u who-u plays-la it cool-u | |
By-u making-u Yo boyss-la world-la a little-la colder-u | |
Nah-u nah-u nah-u nah-u nah-u nah-u nah-u nah-u nah-u | |
Why this kolaveri kolaveri kolaveri di! | |
Yo boys Jude-la dont-u let-u me-la down-u | |
You have-la found-la her-u now-u go-u and-la get-u her-u | |
Remember-u to let-u her-u into-u your heart-u | |
Then-u you can-u start-u to make it better-u | |
Why this kolaveri kolaveri kolaveri di! | |
So-u let-u it out-u and-la let-u it in-u Yo boys Jude-la begin-u | |
You're waiting-u for someone-la to perform-u with-u | |
And-la dont-u you know-u that-u its-la just-u you-u Yo boys Jude-la youll-u do-u | |
The movement-u you need-la is-la on-u your shoulder-u | |
Nah-u nah-u nah-u nah-u nah-u nah-u nah-u nah-u nah-u yeah-u | |
Why this kolaveri kolaveri kolaveri di! | |
Yo boys Jude-la dont-u make it bad-la | |
Take-la a sad-la song-u and-la make it better-u | |
Remember-u to let-u her-u under-u your skin-u | |
Then-u youll-u begin-u to make it | |
Better-u better-u better-u better-u better-u better-u oh | |
Why this kolaveri kolaveri kolaveri di [x4] | |
Flop song |
+1
Cool stuff!
:D what the hell is that!!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"Maamaa" does not mean mother. It's a salutation, somewhat like "macha".