"The Boating Store Had Its Best Sail Ever": Pronunciation-attentive Contextualized Pun Recognition

Yichao Zhou, Jyun-Yu Jiang, Jieyu Zhao, Kai-Wei Chang, Wei Wang
4/29/2020
cs.CL

Official code: joey1993/pun-recognition (4 stars, Python, Apache-2.0, last commit 2024-07-25).

Abstract

Humor plays an important role in human languages and it is essential to model humor when building intelligence systems. Among different forms of humor, puns perform wordplay for humorous effects by employing words with double entendre and high phonetic similarity.

Show full abstract

However, identifying and modeling puns are challenging as puns usually involved implicit semantic or phonological tricks. In this paper, we propose Pronunciation-attentive Contextualized Pun Recognition (PCPR) to perceive human humor, detect if a sentence contains puns and locate them in the sentence. PCPR derives contextualized representation for each word in a sentence by capturing the association between the surrounding context and its corresponding phonetic symbols. Extensive experiments are conducted on two benchmark datasets. Results demonstrate that the proposed approach significantly outperforms the state-of-the-art methods in pun detection and location tasks. In-depth analyses verify the effectiveness and robustness of PCPR.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
40PythonMay 15, 20192 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhou2020the,
  title  = {"The Boating Store Had Its Best Sail Ever": Pronunciation-attentive Contextualized Pun Recognition},
  author = {Yichao Zhou and Jyun-Yu Jiang and Jieyu Zhao and Kai-Wei Chang and Wei Wang},
  year   = {2020},
  eprint = {2004.14457},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.14457}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2004.14457.svg)](https://codeofpaper.com/paper/2004.14457)

Discussion