It is a relatively new area, with the first dedicated conference organized in 1996.
Simple prototypes for computer pun generation were reported in the early 1990s , based on a natural language generator program, VINCI. Graeme Ritchie (now Senior Research Fellow with the Department of Computing Science, University of Aberdeen King's College) and Kim Binsted in their 1994 research paper described a computer program, JAPE, designed to generate question-answer-type puns from a general, i.e., non-humorous, lexicon. Some examples produced by JAPE are
Since then the approach has been improved, and the latest report, dated 2007, describes the STANDUP joke generator, implemented in Java programming language. The STANDUP generator was tested on children within the framework of analyzing its usability for language skills development for children with communication disabilities, e.g., because of cerebral palsy. (The project name is an acronym for "System To Augment Non-speakers’ Dialog Using Puns" and an allusion to "standup comedy.") Children responded to this "language playground" with enthusiasm, and showed marked improvement on certain types of language tests.
"The young people, who used the system over a ten-week period, regaled their peers, staff, family and neighbors with jokes such as: “What do you call a spicy missile? A hot shot!” Their joy and enthusiasm at entertaining others was inspirational.
An application of machine learning techniques for the distinguishing of joke texts from non-jokes was described by Mihalcea and Strapparava (2006)
Takizawa et al. (1996) reported a heuristic program of detecting puns in Japanese language.
It is known that humans interact with computers in ways similar to interacting with other humans that may be described in terms of personality, politeness, flattery, and in-group favoritism. Therefore the role of humor in human-computer interaction is being investigated. In particular, humor generation in user interface to ease communications with computers was suggested.
Craigh McDonough implemented the Mnemonic Sentence Generator, which converts passwords into humorous sentences. Basing on the incongruity theory of humor, it is suggested that the resulting meaningless but funny sentences are easier to remember. For example, the password AjQA3Jtv is converted into "Arafat joined Quayle's Ant, while TARAR Jeopardized thurmond's vase".