Markov Chain trained on King Jame's Bible and Programming Books

Started by
24 comments, last by Paradigm Shifter 10 years, 1 month ago

http://kingjamesprogramming.tumblr.com/

Someone wrote a markov chain and trained it on the contents of King James bible and the contents of various programming text books. The generated outputs are published on this blog.

Some of them are hilarious, to show a few:

19:19 Yet there is no assignment, no local state variable, and consequently none of the servants of your lord

9:14 For I will not dare to speak of a procedure that computes the square

What is man, that he should not depart from Jerusalem, but wait for the carry signals to propagate. What is the purpose that is purposed upon the whole earth: and this is registered by the probe on F.

17:7 For so the procedure body does a direct transfer, without saving any information about how they are written among the children of Israel

25:32 And David said unto Saul, The LORD sent me from Kadeshbarnea to see the value of the variable search that can be stored in a very efficient manner.

28:11 He bindeth the floods from overflowing; and the thing was not done in a data-directed style.

"I would try to find halo source code by bungie best fps engine ever created, u see why call of duty loses speed due to its detail." -- GettingNifty
Advertisement
That is so wrong :(

UNREAL ENGINE 4:
Total LOC: ~3M Lines
Total Languages: ~32

--
GREAT QUOTES:
I can do ALL things through Christ - Jesus Christ
--
Logic will get you from A-Z, imagination gets you everywhere - Albert Einstein
--
The problems of the world cannot be solved by skeptics or cynics whose horizons are limited by the obvious realities. - John F. Kennedy


25:32 And David said unto Saul, The LORD sent me from Kadeshbarnea to see the value of the variable search that can be stored in a very efficient manner.

I think this is my favorite.

"I can't believe I'm defending logic to a turing machine." - Kent Woolworth [Other Space]

And in the morning, then they journeyed: whether it was true or false each time.

“If I understand the standard right it is legal and safe to do this but the resulting value could be anything.”

6:24 And the LORD said unto Satan, Hast thou considered my servant Job, that there is a “vertical” barrier that gives us the power to model systems composed of objects
And Satan stood up against them in the global environment.

Oh my god, I really cannot stop laughing

Each processor would proceed sequentially as if it had been better for them not to rise against Saul.

I'm going to start doing this:

The LORD is the beginning (or prefix) of the code for the body of the procedure

"I would try to find halo source code by bungie best fps engine ever created, u see why call of duty loses speed due to its detail." -- GettingNifty

Because of data abstraction, we were able to go forth to war

That's... probably actually quite accurate, depending on which war we're talking about.

I must admit, I loled.

"And Satan stood up against them in the global environment."

laugh.png

Not sure if I got the process correct:

The RAM is gone,
And no thread takes it to heart,
File handles have run out,
While no thread considers,
That the RAM no longer segfaults.
- Intel i57:1

[rollup="Isaiah 57:1 (original verse)"]"The righteous perishes,
And no man takes it to heart;
Merciful men are taken away,
While no one considers
That the righteous is taken away from evil.
"[/rollup]

Servant, I totally thought of you when I saw this thread. laugh.png

I once implemented something similar, IIRC using an order-3 model (picking the next word based on the 3 prior words), and trained on random bits of fiction and similar I had written.

it generated similarly nonsensical / lolz-inducing statements.

IIRC, I had once imagined possibly something like this being used to generate randomized dialogue for NPCs (maybe combined with speech synthesis).

so, for example, a person could have a collection of "lore" (general descriptions of the game world, ...), maybe some random stuff about whatever town/city/... the NPC lives in, collections of various generic "day to day conversation", ... then let the NPCs loose to say whatever random thing pops up.

getting extra fancy, maybe the Markov Models could be combined with Neural Nets, and the NPCs could have some basic ability to communicate (input neurons could be linked to "heard" words, and output neurons could be linked to words for them to want to say), though this would likely require some sort of training algorithm or something (such as to hopefully get them to mimic conversation).

well, and probably trying to keep all this cheap enough that a bunch of NPCs wandering around and talking doesn't kill the CPU or eat up too much RAM.

This topic is closed to new replies.

Advertisement