Last active
August 29, 2015 14:21
-
-
Save wbsimms/c0a6c6bb0df4640ca5ab to your computer and use it in GitHub Desktop.
Intellectual Façade 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
deep | |
learning | |
machine | |
artificial | |
intelligence | |
synergy | |
proactive | |
predictive | |
analytics | |
intelligence | |
big | |
agile | |
velocity | |
parsing | |
formalized | |
targeted |
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
package com.wbsimms.bullshitgenerator; | |
import java.io.*; | |
import java.util.*; | |
/** | |
* | |
* @author Wm.Barrett | |
*/ | |
public class Program { | |
static String facadeSource = "C:\\Users\\Wm.Barrett\\Desktop\\facade.txt"; | |
static ArrayList<String> terms = new ArrayList<String>(); | |
public static void main(String[] args) throws Exception { | |
File f = new File(bullshitSource); | |
try (BufferedReader br = new BufferedReader(new FileReader(f))) { | |
String line; | |
while ((line = br.readLine()) != null) { | |
terms.add(line); | |
} | |
} | |
long seed = System.nanoTime(); | |
Collections.shuffle(terms,new Random(seed)); | |
Random rand = new Random(seed); | |
int min = 2; | |
int max = 5; | |
int termCount = rand.nextInt((max-min)+1) + min; | |
for (int i = 0; i<=termCount; i++) { | |
System.out.print(terms.get(i) + " "); | |
} | |
System.out.println(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment