- My Forums
- Tiger Rant
- LSU Recruiting
- SEC Rant
- Saints Talk
- Pelicans Talk
- More Sports Board
- Fantasy Sports
- Golf Board
- Soccer Board
- O-T Lounge
- Tech Board
- Home/Garden Board
- Outdoor Board
- Health/Fitness Board
- Movie/TV Board
- Book Board
- Music Board
- Political Talk
- Money Talk
- Fark Board
- Gaming Board
- Travel Board
- Food/Drink Board
- Ticket Exchange
- TD Help Board
Customize My Forums- View All Forums
- Show Left Links
- Topic Sort Options
- Trending Topics
- Recent Topics
- Active Topics
Started By
Message
NSFW How does an automated text generator work?
Posted on 2/13/15 at 10:45 am
Posted on 2/13/15 at 10:45 am
I saw this on reddit a few days ago and can't stop refreshing. I'm easily amazed maybe
LINK I'm on mobile so I hope this works for those not
LINK I'm on mobile so I hope this works for those not
This post was edited on 2/13/15 at 11:25 am
Posted on 2/13/15 at 10:47 am to Paige
quote:
Holy Cow
Fifty Shades of Harry Carey?
Posted on 2/13/15 at 10:53 am to Paige
quote:
So how does this work?
Glad you asked! It is built on recursive grammars using the Dada Engine by Andrew C. Bulhak, best known from the Postmodernism Generator. The engine recursively generates your text, but you need to write the "grammar", a set of rules and vocabulary. Essentially, you're listing every tiny decision the engine needs to make so that the text comes out sounding like 50 Shades of Grey, and not, say, the Dalai Lama.
Using the engine saved me a lot of time writing boilerplate code. On the other hand, it is very limited in what it can do. It can not conjugate verbs ("kiss" to "kisses"), make pronouns agree ("those clamps"/ "that paddle"), ensure subject/verb agreement ("his eyes are smoky"/"his gaze is smoky"), or even pluralize (and you know even that is tricky). Therefore, I had to do low-level stuff like this:
demonstrative-pronoun:
"handcuffs" -> "those"
"nipple clamps" -> "those"
"flogger" -> "that"
"paddle" -> "that"
"leather strap" -> "that"
"rope" -> "that"
;
Aren't programming and grammar fun?
In the end, it was a brute force effort. I wrote over 1000 lines of code over the weekend to produce an output text I was happy with. I generated the source phrases and vocabulary by running basic scripts on the source text (frequency analysis, etc) but it was still a lot of manual labor, creativity, and adjusting by hand. I'd write a new "engine" before I tried it again.
Posted on 2/13/15 at 10:53 am to MrSmith
I don't get it. I've refreshed a hundred times and it's always different and makes sense
Posted on 2/13/15 at 10:55 am to illuminatic
I read that but it didn't help
Have y'all tried it? It's really awesome
I didn't read 50 shades. But is that the kind of shite so many women were crazy about? Blah
Have y'all tried it? It's really awesome
I didn't read 50 shades. But is that the kind of shite so many women were crazy about? Blah
Posted on 2/13/15 at 10:56 am to Paige
quote:
His tongue invades my mouth, his eyes glowing with lust, warmth pooling below my waist, sending delicious shivers down my spine. The sensual strains of Miley Cyrus drift through the headphones he put on me. He always puts songs on repeat in here. His hand tightens around my hair at my nape, holding my head in place.
You mean this doesn't get you hot?
Posted on 2/13/15 at 11:01 am to illuminatic
that actually makes me laugh too much to get turned on
Posted on 2/13/15 at 11:24 am to TigerPox
Oh sorry. I Shoulda put that
Popular
Back to top
Follow TigerDroppings for LSU Football News