Write your Story: Using NLP

Natural Language Processing

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.

Read more.

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

Initial Storyline

The initial story line needs to be updated to enable the model catch on to the context and identify tokens.

Output story

As visible, the last two lines have been added by the algorithm and is in line with the story.

Reference to original story used.

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Paper Explained- Rethinking Attention with Performers

A peek into the workings of Naive Bayes Classifier

Everything You’ve Ever Wanted to Know About K Means Clustering Algorithm

Gradient Descent Optimizer in Deep Learning

Machine Learning Final Project

Skeleton Detection Using a Video

Linear Regression using TensorFlow

What I Was Missing While Using The Kalman Filter For Object Tracking

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Abhiroop Bas

Abhiroop Bas

More from Medium

Can we apply NLP on local languages (Languages apart from English)?

Ethics in Natural Language Processing

Ethics in Natural Language Processing

Multilingual Transformers applied to Twitter to support a research project

MY NLP JOURNEY!!!!