Basic NLP concepts
This page covers the fundamental concepts of Natural language processing (NLP).
Last updated
This page covers the fundamental concepts of Natural language processing (NLP).
Last updated
Understanding natural language is challenging. It takes us over 12 years to learn 20,000 common words. Imagine how hard it is for computers! Training NLP engines requires massive data. Fortunately, pre-trained models help. Our NLP engine handles spelling errors, synonyms, slang, and word order.
In this page, you'll learn about the basics to learn your bot's NLP model.
An NLP model is made of a set of intents and entities which are trained on data so that the model can recognize expressions that were never seen.
Each bot has its own NLP model.
You can set up your NLP model under the NLP tab.
Whenever a user sends a message to the bot, the bot will check if that message can be labelled with an intent that is part of the NLP model.
An intent is a series of expressions (or utterances) that mean the same intention or goal from the user side. During the conversation, intents are recognised by the NLP engine and serve to steer the conversation in different ways.
You can add intents from the NLP tab.
It is important to scope your intents well so the bot can recognise them more easily. Learn how to create good intents here.
Expressions are example sentences to specific intent: they're all the different ways a user can express their intent.
You can add expressions from the NLP tab.
It's crucial for an intent to contain diverse expressions so that the NLP can give more accurate results. Learn more about how to create a good set of expressions here.
Please note that our NLP engine has a limit of 1000 characters. Messages with more than 1000 characters will always trigger the Not understood block.
Entities are important pieces of information that can be extracted from an expression. You want to store these entities as variables so you can re-use them later on.
Chatlayer has different entity types. Learn all about them here.