arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.02008cs.CLcs.AI
收藏

Witscript:一个在对话中生成即兴笑话的系统

Witscript: A System for Generating Improvised Jokes in a Conversation

Twenty Lane Media, LLC(二十巷传媒有限责任公司)

Joe Toplyn

摘要:

如果聊天机器人在输出中包含一些笑话,它会被认为更像人类,更讨人喜欢。但大多数现有的笑话生成器并不是为了集成到聊天机器人中而设计的。本文介绍了Witscript,一种新颖的笑话生成系统,可以即兴创作原创的,上下文相关的笑话,如在对话中的幽默反应。该系统是基于一个专家喜剧作家创造的笑话写作算法。Witscript采用众所周知的自然语言处理工具从主题句中提取关键词,并使用文字游戏将这些关键词和相关词链接起来以创建妙语。然后,一个预先训练好的神经网络语言模型,已经在电视节目独白笑话的数据集上进行了微调,用于通过填充主题句和妙语之间的间隙来完成笑话响应。一种内部评分方法过滤掉不符合预设质量标准的笑话。人类评估者判断Witscript对输入句子的反应超过40%是笑话。这证明Witscript代表了为聊天机器人提供人类幽默感的重要下一步。

英文摘要:

A chatbot is perceived as more humanlike and likeable if it includes some jokes in its output. But most existing joke generators were not designed to be integrated into chatbots. This paper presents Witscript, a novel joke generation system that can improvise original, contextually relevant jokes, such as humorous responses during a conversation. The system is based on joke writing algorithms created by an expert comedy writer. Witscript employs well-known tools of natural language processing to extract keywords from a topic sentence and, using wordplay, to link those keywords and related words to create a punch line. Then a pretrained neural network language model that has been fine-tuned on a dataset of TV show monologue jokes is used to complete the joke response by filling the gap between the topic sentence and the punch line. A method of internal scoring filters out jokes that don't meet a preset standard of quality. Human evaluators judged Witscript's responses to input sentences to be jokes more than 40% of the time. This is evidence that Witscript represents an important next step toward giving a chatbot a humanlike sense of humor.

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

↑