【24h】

Pun Generation with Surprise

机译:双关语的惊喜

获取原文

摘要

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 unsuper-vised 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: (ⅰ) as a measure based on the ratio of probabilities under a language model, and (ⅱ) 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% of the time, tripling the success rate of a neural generation baseline.
机译:我们解决了在给定一对同音词的情况下生成双关语的问题(例如,“死”和“染”)。由于缺少大量的双关语,所以有监督的文本生成是不合适的,即使存在这样的双关语,模仿还是与生成新颖的内容背道而驰。在本文中,我们提出了一种无监督的方法,该方法使用不幽默的文本语料库以及所谓的局部-全局惊奇原则来生成双关语:我们认为,在双关语句子中,双关语词之间有很强的关联性(例如, ,“染过的”)和远处的上下文,以及替代词(例如“死”)与当前上下文之间的紧密关联。这种对比会带来惊喜,从而产生幽默感。我们以两种方式实例化双关语的生成原理:(ⅰ)作为一种语言模型下基于概率比的度量,以及(ⅱ)一种基于跳过语法模型建议的单词的检索和编辑方法。人工评估表明,我们的检索和编辑方法在31%的时间内成功生成了双关语,是神经生成基线的成功率的三倍。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号