dariusk / NaNoGenMo

National Novel Generation Month. Because.
183 stars 16 forks source link

Doing this thing #8

Open rhygra opened 10 years ago

rhygra commented 10 years ago

Seems like fun, and I've had a few ideas bubbling !

rhygra commented 10 years ago

so! in a class we read Jamaica Kincaid's Girl ( http://bcs.bedfordstmartins.com/virtualit/fiction/Girl/story.asp ) some people claimed it to not be a story, just a list. I think it is interesting how the quality of 'storyhood' is left up to the reader. the intent of the author doesn't matter all too much. which is good news for computers! makes me wonder where the line can be drawn. is anything a story if read correctly?

So far I'm using pymarkovchain on two source texts to spit out some sentences. Nothing too fancy but I'm learning lots! Sources are: comments I scraped from a question/answer site ( code here: https://gist.github.com/arseyg/7463370 ). Specifically this thread: http://ask.metafilter.com/158740/You-were-doing-it-wrong since it had the most responses. And Wittgenstein's Tractatus Logico-Philosophicus.

while testing a sentence from each it told me this: ", then we are called a world.

holy shit."

here's the code: http://pastebin.com/Tu24NAH3 here's an output: http://pastebin.com/ZnPWU40Y

dariusk commented 10 years ago

Nice!

enkiv2 commented 10 years ago

The Tractatus is great source material for a markov model. This is excellent output :D

On Fri, Nov 15, 2013 at 12:31 PM, dariusk notifications@github.com wrote:

Nice!

— Reply to this email directly or view it on GitHubhttps://github.com/dariusk/NaNoGenMo/issues/8#issuecomment-28587552 .