'How to generate a sentence around words in Keras?
I know that how to generate next word in keras with lstm but how to predict previous word for example If you have two words like "car" and "running" then It should generate "The car is running". How can we do this in keras ? I want to also make sure that generator should stop after completing the sentence. Thank you.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
