Pun Generation with Surprise

04/15/2019
by   He He, et al.
0

We tackle the problem of generating a pun sentence given a pair of homophones (e.g., "died" and "dyed"). Supervised text generation is inappropriate due to the lack of a large corpus of puns, and even if such a corpus existed, mimicry is at odds with generating novel content. In this paper, we propose an unsupervised approach to pun generation using a corpus of unhumorous text and what we call the local-global surprisal principle: we posit that in a pun sentence, there is a strong association between the pun word (e.g., "dyed") and the distant context, as well as a strong association between the alternative word (e.g., "died") and the immediate context. This contrast creates surprise and thus humor. We instantiate this principle for pun generation in two ways: (i) as a measure based on the ratio of probabilities under a language model, and (ii) a retrieve-and-edit approach based on words suggested by a skip-gram model. Human evaluation shows that our retrieve-and-edit approach generates puns successfully 31 generation baseline.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/28/2020

R^3: Reverse, Retrieve, and Rank for Sarcasm Generation with Commonsense Knowledge

We propose an unsupervised approach for sarcasm generation based on a no...
research
03/18/2022

GRS: Combining Generation and Revision in Unsupervised Sentence Simplification

We propose GRS: an unsupervised approach to sentence simplification that...
research
03/30/2021

AfriKI: Machine-in-the-Loop Afrikaans Poetry Generation

This paper proposes a generative language model called AfriKI. Our appro...
research
05/18/2020

GPT-too: A language-model-first approach for AMR-to-text generation

Abstract Meaning Representations (AMRs) are broad-coverage sentence-leve...
research
01/01/2021

A Graph Total Variation Regularized Softmax for Text Generation

The softmax operator is one of the most important functions in machine l...
research
05/04/2022

AmbiPun: Generating Humorous Puns with Ambiguous Context

In this paper, we propose a simple yet effective way to generate pun sen...
research
09/18/2020

Generating similes <effortlessly> like a Pro: A Style Transfer Approach for Simile Generation

Literary tropes, from poetry to stories, are at the crux of human imagin...

Please sign up or login with your details

Forgot password? Click here to reset