全部 标题 作者
关键词 摘要

OALib Journal期刊
ISSN: 2333-9721
费用:99美元

查看量下载量

相关文章

更多...
-  2020 

An RNN Model for Generating Sentences with a Desired Word at a Desired Position

DOI: 10.17559/TV-20190929153200

Keywords: desired word, lexically constrained, RNN, sentence generation

Full-Text   Cite this paper   Add to My Lib

Abstract:

Sa?etak Generating sentences with a desired word is useful in many natural language processing tasks. State-of-the-art recurrent neural network (RNN)-based models mainly generate sentences in a left-to-right manner, which does not allow explicit and direct constraints on the words at arbitrary positions in a sentence. To address this issue, we propose a generative model of sentences named Coupled-RNN. We employ two RNN's to generate sentences backwards and forwards respectively starting from a desired word, and inject position embeddings into the model to solve the problem of position information loss. We explore two coupling mechanisms to optimize the reconstruction loss globally. Experimental results demonstrate that Coupled-RNN can generate high quality sentences that contain a desired word at a desired position

Full-Text

Contact Us

service@oalib.com

QQ:3279437679

WhatsApp +8615387084133