Generate sentences from keywords by adding formal word

For example, I have a list of keywords like I, hungry = output: I am hungry or I, author, poem = output: I am the author of this poem. Can someone please suggest the simplest way to achieve this? I am a newbie, please tell me which knowledge I must have to solve this problem.

Topic nlg lstm nlp

Category Data Science


I am also fairly new to this, but am working on the same type of problem where I have to predict the sentence based on previous data. Like you want giving X value predict y value.

So, basically you need to create a dataset as per your requirement and once your dataset is ready you can train your model with encoder-decoder or LSTM layers.

Please find below links that may be helpful to you to fulfill your requirements. See as X and Y value input output prediction.

  1. Gmail style smart compose
  2. Neural Machine Translation with Attention
  3. Sentence Prediction using LSTMs

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.