We study a new application for text generation -- idiomatic sentence generation -- which aims to transfer literal phrases in sentences into their idiomatic counterparts. Inspired by psycholinguistic theories of idiom use in one's native language, we propose a novel approach for this task, which retrieves the appropriate idiom for a given literal sentence, extracts the span of the sentence to be replaced by the idiom, and generates the idiomatic sentence by using a neural model to combine the retrieved idiom and the remainder of the sentence. Experiments on a novel dataset created for this task show that our model is able to effectively transfer literal sentences into idiomatic ones. Furthermore, automatic and human evaluations show that for this task, the proposed model outperforms a series of competitive baseline models for text generation.
翻译:我们研究一种新的文本生成应用 -- -- 单词句生成 -- -- 旨在将句子中的字句转换为单词句的词组。在用母语使用单词句的心理语言学理论的启发下,我们为这项任务提出了一个新颖的方法,为某一字句检索了适当的异语,提取了拟由单词句取代的句子的长度,并通过使用神经模型将检索到的异语句和句子的其余部分结合起来而生成了单词句。对为这项任务创建的新数据集的实验表明,我们的模型能够有效地将字句转换为单词句。此外,自动和人类评估表明,对于这项任务,拟议的模型超越了一系列有竞争力的文本生成基线模型。