论文标题
统一的统一框架,具有幽默原则
A Unified Framework for Pun Generation with Humor Principles
论文作者
论文摘要
我们提出了一个统一的框架,以生成同型和同型双关语,以解决现有作品中的分裂。具体而言,我们将双关语的三种语言属性纳入了语言模型:歧义,独特性和惊喜。我们的框架由三个部分组成:1)上下文单词/短语选择器以促进上述属性,2)在非pun句中训练的一代模型,以将上下文单词/短语纳入生成输出中,以及3)一个标签预测指标,该标签预测指标可以学习用于在发行时间上引导生成模型的双关语结构。对两种双关语类型的评估结果都证明了我们模型对强基础的功效。
We propose a unified framework to generate both homophonic and homographic puns to resolve the split-up in existing works. Specifically, we incorporate three linguistic attributes of puns to the language models: ambiguity, distinctiveness, and surprise. Our framework consists of three parts: 1) a context words/phrases selector to promote the aforementioned attributes, 2) a generation model trained on non-pun sentences to incorporate the context words/phrases into the generation output, and 3) a label predictor that learns the structure of puns which is used to steer the generation model at inference time. Evaluation results on both pun types demonstrate the efficacy of our model over strong baselines.