- Dissociated press
-
Dissociated press is an algorithm for generating text based on another text. It is intended for transforming any text into potentially humorous garbage. The name is a play on "Associated Press".
An implementation of the algorithm is available in Emacs.
Contents
The algorithm
The algorithm starts by printing any N consecutive words (or letters) in the text. Then at every step it searches for any random occurrence in the original text of the last N words (or letters) already printed and then prints the next word or letter.
Examples
Here is a short example of word-based Dissociated Press applied to the Jargon File[1]:
- wart: n. A small, crocky feature that sticks out of an array (C has no checks for this). This is relatively benign and easy to spot if the phrase is bent so as to be not worth paying attention to the medium in question.
Here is a short example of letter-based Dissociated Press applied to the same source:
- window sysIWYG: n. A bit was named aften /bee´t@/ prefer to use the other guy's re, especially in every cast a chuckle on neithout getting into useful informash speech makes removing a featuring a move or usage actual abstractionsidered interj. Indeed spectace logic or problem!
The Twitter feed @CelebMash is a word-based Dissociated Press applied to recent celebrity tweets.
History
The dissociated press algorithm is described in HAKMEM (1972) Item #176. The name "dissociated press" is first known to have been associated with the Emacs implementation.
An article in the November 1983 issue of Scientific American gives this garbled William Faulkner passage: "When he got on the table, he come in. He never come out of my own pocket as a measure of protecting the company against riot and bloodshed. And when he said. 'You tell me a bus ticket, let alone write out no case histories. Then the law come back with a knife!'"
See also
- Cut-up technique
- Markov chain
- Mark V. Shaney
References
- ^ Raymond, Eric S. (2003-12-29). "Dissociated Press". Jargon File 4.4.7. http://www.catb.org/jargon/html/D/Dissociated-Press.html. Retrieved 2007-04-10.
External links
- Emacs documentation on Dissociated Press
- Dissociated Press in the Jargon File
- Dissociated Press on celebrity Twitter feeds
This article is based in part on the Jargon File, which is in the public domain.Categories:- Stochastic processes
- Statistical natural language processing
- Random text generation
Wikimedia Foundation. 2010.