arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.13055cs.CL
收藏

幽默原则与双关生成的统一框架

A Unified Framework for Pun Generation with Humor Principles

University of California, Los Angeles(加州大学洛杉矶分校);Indian Institute of Technology, Kharagpur(印度理工学院克勒格布尔分校)

Yufei Tian, Divyanshu Sheth, Nanyun Peng

摘要:

我们提出了一个统一的框架来生成谐音双关语和同形双关语,以解决现有作品中的分裂。具体而言,我们将双关语的三个语言属性的语言模型:歧义,独特性和惊喜。我们的框架由三个部分组成:1)上下文单词/短语选择器,以促进上述属性,2)在非双关语句子上训练的生成模型,将上下文单词/短语纳入生成输出,以及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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑