Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Project ChanText

Name: !GEJzSATORI 2008-02-17 23:04

'sup /prog/,

Having played with Markov-chain text generators, I came up with the idea of gathering statistics by parsing randomly selected threads from a certain board at periodic intervals, then using those accumulated word frequencies to generate text, which would then have the flavor of the board.

Your thoughts, /prog/?

Name: Anonymous 2011-11-22 14:18

>>40
You can make it even smaller with well known standard library features such as collections.defaultdict.
Also you apparently don't know what a regular expression is.

Name: Anonymous 2011-11-22 14:21

>>41
I'll admit, I didn't know about that one. I can't see how it'll make a significant difference, though.
I do know about regular expressions, but I fail to see how they are relevant for this program.

Name: Anonymous 2011-11-22 15:18

...and thus the tdavis bot was born.

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-11-22 15:41

You can take a look at my old bot here
http://dis.4chan.org/read/prog/1245466138/53

Name: Anonymous 2011-11-22 16:18

>>44
What kind of algorithm is that?

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-11-22 16:24

As i wasn't familiar with markov chains at the time of writing it, it generated a sentence chain from each word in the sentence.
word->matches_for_word[array(rnd)]+lastword->matches_for_word[array(rnd)]... somethign like that abit more advanced

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List