Dissociated press

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

References

  1. ^ 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


This article is based in part on the Jargon File, which is in the public domain.


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Word salad (computer science) — Word salad is a mixture of seemingly meaningful words that together signify nothing; [Lavergne 2006:384] the phrase draws its name from the common name for a symptom of schizophrenia, Word salad. When applied to a physical theory, word salad is a …   Wikipedia

  • E-mail spam — E mail spam, also known as bulk e mail or junk e mail, is a subset of spam that involves nearly identical messages sent to numerous recipients by e mail. A common synonym for spam is unsolicited bulk e mail (UBE). Definitions of spam usually… …   Wikipedia

  • Email spam — An email box folder filled with spam messages. Email spam, also known as junk email or unsolicited bulk email (UBE), is a subset of spam that involves nearly identical messages sent to numerous recipients by email. Definitions of spam usually… …   Wikipedia

  • Markov chain — A simple two state Markov chain. A Markov chain, named for Andrey Markov, is a mathematical system that undergoes transitions from one state to another, between a finite or countable number of possible states. It is a random process characterized …   Wikipedia

  • MIT/GNU Scheme — Développeur Projet GNU Dernière version …   Wikipédia en Français

  • Emacs — Pour les articles homonymes, voir Emacs (homonymie). Emacs …   Wikipédia en Français

  • Foucault's Pendulum — infobox Book | name = Foucault s Pendulum title orig = Il pendolo di Foucault translator = William Weaver image caption = Cover of 1989 Picador edition author = Umberto Eco cover artist = country = Italy language = Italian series = genre =… …   Wikipedia

  • N-gram — An n gram is a sub sequence of n items from a given sequence. n grams are used in various areas of statistical natural language processing and genetic sequence analysis. The items in question can be phonemes, syllables, letters, words or base… …   Wikipedia

  • GNU Emacs — Pour les articles homonymes, voir GNU et Emacs (homonymie). GNU Emacs …   Wikipédia en Français

  • Richard Stallman — Richard Matthew Stallman Nom de naissance Richard Matthew Stallman Surnom …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”