FileReader fr = new FileReader("data/curses.txt");
Markov markov = new Markov(null, 4);
markov.loadString(fr.getContent(),1);
String sentence = markov.generate();
tf.response(new Post(">>4"+sentence));
Name:
Anonymous2008-08-05 12:01
>>4
Stupid collapsed on itself so far that even the neutrons have collapsed. Stupid gotten so dense that no intellect can escape.
Blazing hot mid-day sun on Mercury stupid. You emit more stupid in one second than our entire galaxy emits in a year. Your writing has to be a troll. Nothing in our universe can really be this stupid. Perhaps this is some primordial fragment from the original big bang of stupid. This is an epiphany of stupid for me.
Name:
Anonymous2008-08-05 12:46
var thread = new Thread('dis.4chan.org', '/prog/', 1217947753);
var megaHal = new MegaHal.MegaHal() { MaxDepth = 2 };
megaHal.ReadText(thread.GetPost(4).Text);
var response = new StringBuilder();
for (int i = 0; i < sentences; ++i) {
if(response.Length > 0)
response.Append(" ");
response.Append(megaHal.GetSentence());
}
thread.Post(text.ToString(), '', 'sage');
Name:
Anonymous2008-08-05 12:54
Make >>7 work properly
diff -u -p1 >>7;1 >>7;2
--- >>7;1
+++ >>7;2
@@ -3,1 +3,1 @@
-megaHal.ReadText(thread.GetPost(4).Text);
+megaHal.ReadText(file.ReadAllText("flames.txt"));
\ No newline at end of file
Name:
Anonymous2008-08-05 12:55
Let me tell you something, you coward, the dumb people have really got it all together, right? Idiot! Breathing causes cancer. "Head-for-the-mountains" Bush was old, right? Man, I firmly believe that Lassie was wood-burning stove-loving .