NLP Chatbots

Turan Saray
3 min readJan 18, 2021

This is an NLP Chatbot 101 paper. I prepared this publication by combining my notes and a short 3-minute article came out.

Photo by Owen Beard on Unsplash

Chatbots

Chatbots are, in its simplest definitions, the software that anybody can talk via texts or text-to-speech recognitions. Communication is the main task that chatbots are designed for, while some others are uses AI or complex Machine Learning algorithms.

Natural Language Processing

Natural Language Processing (NLP) is a subfield of AI which helps computers to understand the human language, interpret the results and answer back again in a human language. The key points of NLP are Natural Language Understanding (NLU) and Natural Language Generation (NLG).

NLP = NLU + NLG

Natural Language Understanding (NLU) is a subset of NLP where the program takes the input, understand what it means and even perform sentiment analysis. Natural Language Generation (NLG) is another subset of NLP where the program takes the inputs from the NLU processes and generates meaningful answers.

Machine Learning is at the core of NLP Chatbots. The ML processes train the bots all the time and provide it to stay efficient to satisfy the work is done by chatbots.

NLP Chatbot Major Steps

There are 5 major steps in NLP chatbots. The first 4 steps fall under Natural Language Understanding (NLU) and the 5th step falls under Natural Language Generation (NLG).

1- Tokenization: Tokenization is the technique for dividing the text into pieces called tokens.

2- Normalization: Finding spelling mistakes and change them with true ones.

3- Recognizing Entities: Determining the dates, organizations, places to understand which thing is being talked.

4- Dependency Parsing: Splitting sentence into nouns, verbs, objects, punctuations etc.

5- Generation Takes outputs of the NLU and generates meaningful sentences.

NLP Chatbot Examples

1- IntelliTicks: AI-powered live chat for sales. IntelliTicks Chatbot can answer customer queries without a human operator needed.

2- Google Dialogflow: Dialogflow is an NLU platform and it provides new and engaging ways for users to understand online visitors and handle automated conversations.

3- WitAI: WitAI is an NLP chatbot for developers to build applications and devices which you can talk to or text to.

4- Haptik: Haptik is an enterprise conversational AI platform. There are dashboards to view reports and it can integrate with CRM systems.

5- KoreAI: KoreAI automates and optimizes enterprise digital interactions. KoreAI provides conversational AI-based enterprise platforms to create virtual assistants with digital user experiences.

Bonus Example: MeowTalk is an AI-based software which can understand the type of “meow” and explain it to the cat’s owner. The researches show that the meows are unique and there are no simple communication types like humans. It is developed by Amazon Alexa’s developers and they are still working on this software to learn the different types of meows with machine learning applications.

Further Reading

--

--