【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.
机译:我们解决了一对同性关系(例如,“死亡”和“染成”)的问题。由于缺乏大规模的双关语,监督文本生成是不合适的,即使存在这样的语料库,Mimicry也具有产生新内容的赔率。在本文中,我们向使用一个不受欢迎的文本的语料库和我们称之为本地 - 全球的惊喜原则,提出了一个无卫生的双关语法:我们在关键词中,双关语词之间存在强烈关联(例如,“染色”)和远处的上下文,以及替代词(例如,“死亡”)和立即上下文之间的强关系。这种对比产生惊喜,因此幽默。我们以两种方式实例化了PUM一代原则:(Ⅰ)作为基于语言模型下的概率比率的措施,(Ⅱ)基于Skip-Gram模型的单词的检索和编辑方法。人类评估表明,我们的检索和编辑方法成功地生成了31%的时间,三倍的神经发电基线的成功率。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号