Write your Story: Using NLP
Natural Language Processing
Natural Language Processing, usually shortened as NLP, is a branch of artificial intelligence that deals with the interaction between computers and humans using the natural language.
The ultimate objective of NLP is to read, decipher, understand, and make sense of the human languages in a manner that is valuable.
Word Prediction Model
The word prediction model can be developed and stored as a file. This can be further called upon to use the model.
Pre requisites include basic packages such as
- numpy
- keras
- pickle
- string
Find the entire model in the github repository.
Output
The initial story line needs to be updated to enable the model catch on to the context and identify tokens.
As visible, the last two lines have been added by the algorithm and is in line with the story.