Cognigy.AI's on-board NLU is pre-trained with curated data from over 100 languages to support intent recognition and keyphrase detection. Any other natural (or artificial) language is supported based on language-agnostic NLU algorithms.
For 20 of the most common languages, Cognigy.AI provides prebuilt entities that allow automatic processing of inputs like dates, currencies and others specific to a language that is defined in the flow.
- Generic (see below)
- English (Australia)
- English (Canada)
- English (India)
- English (UK)
- English (US)
- Portuguese - Brazil
The Generic Language allows you to do Intent mapping in any language which, along with Keyphrase detection and our powerful Rule Intent Engine, enables you to build Flows in any language.
The Generic Language uses multi-lingual NLU algorithms and models. This must be qualified to include only space-tokenized languages such as English for full support. E.g., keyphrase detection uses spaces " " as a delimiter. Intent mapping works across tokenization schemes but also benefits from space-tokenized languages.
A powerful and useful way to use the Generic Language is by using Rule Intents. These Intents lets you define custom rules using CognigyScript that will decide whether the Intent is triggered. You can thereby have a rule like this:
- input.slots.food.keyphrase === "pizza"
Which means that as soon as the user mentions the word pizza, this Intent will be triggered. For more information on how to use these Intents, please go here.
For our askYNQuestion Nodes to work, we need to know which words are positive confirmations, and which words are negative confirmations. For instance, if you use English as a language, then we know that if the user answers "yes", then we will trigger the onYes part of the askYNQuestion Node. However, since you are essentially using any language by using the Generic language, we don't have this information. You therefore need to open the FlowProperties panel in your Flow and navigate to settings. Here are two settings called "Additional confirmation words" and "Additional negative confirmation words". The first one is a list of words that should trigger the onYes part of an askYNQuestion Node, whereas the second one is a list of words that should trigger the onNo part of an askYNQuestion Node. You simply write the list of words as a comma seperated list (e.g. yes, correct, ok). You can also use these to extend the confirmation words for other languages.
Updated 14 days ago