Last active
March 23, 2016 09:20
-
-
Save erget/e47bcbc036b344932605 to your computer and use it in GitHub Desktop.
Bull generator
This file contains 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
#include <iostream> | |
#include <stdlib.h> | |
#include <string> | |
#include <time.h> | |
#include <vector> | |
std::vector<std::string> OPENINGS = { | |
"My organisation believes in", | |
"The solution can only be", | |
"The consultants recommend", | |
"Forward-looking companies invest in", | |
"Our upgraded model now offers", | |
"Our exploratory research points to", | |
"You really can't fail with", | |
"I can make a window to discuss your", | |
"At base level, this just comes down to", | |
"Only geeks stuck in the 90s still go for", | |
"We need to get on-message about our", | |
"We need a more blue-sky approach to", | |
"It's time that we became uber-efficient with our", | |
"We need to cascade memos about our", | |
"This is no time to bite the bullet with our", | |
"We're going forward with our plans to implement", | |
"We now offer diplomas in", | |
"It's time to revamp and reboot our", | |
"Today marks the 20th anniversary celebrations of our", | |
"We need a more contemporary reimagining of our"}; | |
std::vector<std::string> ADJECTIVES = { | |
"integrated", | |
"total", | |
"systemised", | |
"parallel", | |
"functional", | |
"responsive", | |
"optional", | |
"synchronised", | |
"compatible", | |
"balanced", | |
"interactive", | |
"regenerated", | |
"21st Century", | |
"millennial", | |
"homogenised", | |
"holistic", | |
"facilitating", | |
"global", | |
"remote", | |
"quality", | |
"knowledge-based", | |
"deconstructed", | |
"'Outside the box'", | |
"dot-com", | |
"three-dimensional", | |
"four-dimensional", | |
"nascent", | |
"ambient"}; | |
std::vector<std::string> NOUNS = { | |
"management", | |
"organisational", | |
"monitored", | |
"reciprocal", | |
"digital", | |
"logistical", | |
"transitional", | |
"incremental", | |
"third-generation", | |
"policy", | |
"relative", | |
"modular", | |
"asset", | |
"strategic", | |
"administrative"}; | |
std::vector<std::string> CLOSES = { | |
"options", | |
"flexibility", | |
"capability", | |
"mobility", | |
"programming", | |
"concepts", | |
"time-phases", | |
"paradigm shifts", | |
"projections", | |
"hardware", | |
"contingencies", | |
"processing", | |
"alignment", | |
"innovation", | |
"matrix approaches", | |
"consulting", | |
"resources"}; | |
std::string get_wisdom() | |
{ | |
std::string opening = OPENINGS[rand() % OPENINGS.size()]; | |
std::string adjective = ADJECTIVES[rand() % ADJECTIVES.size()]; | |
std::string noun = NOUNS[rand() % NOUNS.size()]; | |
std::string close = CLOSES[rand() % CLOSES.size()]; | |
return opening + " " + adjective + " " + noun + " " + close + "."; | |
} | |
int main() | |
{ | |
srand(time(NULL)); | |
std::cout << get_wisdom() << std::endl; | |
return 0; | |
} |
This file contains 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
from random import randint | |
OPENINGS = ( | |
"My organisation believes in", | |
"The solution can only be", | |
"The consultants recommend", | |
"Forward-looking companies invest in", | |
"Our upgraded model now offers", | |
"Our exploratory research points to", | |
"You really can't fail with", | |
"I can make a window to discuss your", | |
"At base level, this just comes down to", | |
"Only geeks stuck in the 90s still go for", | |
"We need to get on-message about our", | |
"We need a more blue-sky approach to", | |
"It's time that we became uber-efficient with our", | |
"We need to cascade memos about our", | |
"This is no time to bite the bullet with our", | |
"We're going forward with our plans to implement", | |
"We now offer diplomas in", | |
"It's time to revamp and reboot our", | |
"Today marks the 20th anniversary celebrations of our", | |
"We need a more contemporary reimagining of our") | |
ADJECTIVES = ( | |
"integrated", | |
"total", | |
"systemised", | |
"parallel", | |
"functional", | |
"responsive", | |
"optional", | |
"synchronised", | |
"compatible", | |
"balanced", | |
"interactive", | |
"regenerated", | |
"21st Century", | |
"millennial", | |
"homogenised", | |
"holistic", | |
"facilitating", | |
"global", | |
"remote", | |
"quality", | |
"knowledge-based", | |
"deconstructed", | |
"'Outside the box'", | |
"dot-com", | |
"three-dimensional", | |
"four-dimensional", | |
"nascent", | |
"ambient") | |
NOUNS = ( | |
"management", | |
"organisational", | |
"monitored", | |
"reciprocal", | |
"digital", | |
"logistical", | |
"transitional", | |
"incremental", | |
"third-generation", | |
"policy", | |
"relative", | |
"modular", | |
"asset", | |
"strategic", | |
"administrative") | |
CLOSES = ( | |
"options", | |
"flexibility", | |
"capability", | |
"mobility", | |
"programming", | |
"concepts", | |
"time-phases", | |
"paradigm shifts", | |
"projections", | |
"hardware", | |
"contingencies", | |
"processing", | |
"alignment", | |
"innovation", | |
"matrix approaches", | |
"consulting", | |
"resources") | |
def get_wisdom(): | |
"""Generate dazzling wisdom.""" | |
opening = OPENINGS[randint(0, len(OPENINGS) - 1)] | |
adjective = ADJECTIVES[randint(0, len(ADJECTIVES) - 1)] | |
noun = NOUNS[randint(0, len(NOUNS) - 1)] | |
close = CLOSES[randint(0, len(CLOSES) - 1)] | |
return "{opening} {adjective} {noun} {close}.".format(opening=opening, | |
adjective=adjective, | |
noun=noun, | |
close=close) | |
if __name__ == "__main__": | |
print(get_wisdom()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment