Natural Language Understanding
Introduction
VSDK includes built-in support for Natural Language Understanding (NLU) through the VNLU engine, developed by Vivoka. Integrated under the module name vsdk-vnlu, it is designed to work alongside an ASR engine to extract meaning and structure from spoken commands.
With VNLU, your application can go beyond recognizing words—it can understand intents (what the user wants to do) and entities (the relevant pieces of information within a sentence). This makes it ideal for building natural and conversational voice interfaces.
Example: Smart Home
User says: "Turn on the kitchen lights"
Extracted Intent:TurnOnDevice
Extracted Entities:
device: "lights"location: "kitchen"
Training model
NLU is domain-specific module, meaning it’s trained on the vocabulary and sentence structures relevant to your use case. We have a guide that could help you build you dataset and train your model.
Languages
🇫🇷
fra-FR– French (France)🇺🇸
eng-US– English (United States)🇮🇹
ita-IT– Italian (Italy)🇪🇸
spa-ES– Spanish (Spain)🇩🇪
deu-DE– German (Germany)
Examples
This example demonstrates how to:
Send a
POSTrequest to the VDK service, including the parser name and the text to be analyzed.Verify that the response is successful.
Print the response body containing the analysis results.