Recognition
The ‘Recognition’ block is used for recognition of a voice response and recording it into a variable. You can use this block for recognition of a subscriber’s response and for transferring it to a server via HTTP.
In the block settings you can set the time of a response expectancy (2 seconds by default) and set a variable to assign a result of the recognition to.
The exit from this block is carried out after the waiting time for the response specified in the settings, or at the moment when the system detects the end of the subscriber’s speech, if the switch “Silence detection” is set (detection occurs after about 2-3 seconds).
Default recognition settings
When selecting this block, you can disable “Default recognition settings” and open new settings blocks.
After selecting a provider, a new block “Language” will be available. When you click on it, a dropdown list opens containing all available languages.
Below the field of a variable you can find the settings ‘Additional processing’.
To activate it choose the option ‘Required’ and in the drop-down list choose a content type that you need to extract from a subscriber’s speech to save it into a variable.
On the output side of the ‘Recognition’ block you can find two circles:
- ‘Processed’ in case the recognition was successful.
The system returns verification code qc=0 (that means recognized sufficiently).
- ‘Not processed’ in case for some reason recognition and assignment to a variable was not successful.
The system can detect from a subscriber’s speech the following data types:
- Number
- Sequence of digits
Number
Selects integers from the subscriber’s phrase and writes them to a variable as a number.
For instance, a subscriber says, ‘I think it’s one, wait a second, two, three, four’.
The result will be converted into a variable as ‘1234’.
Sequence of digits
The system detects only numbers and converts them into a variable in the form of a sequence separated with spaces.
For instance, a subscriber says, ‘Most likely it’s three hundred twenty five’.
The result will be converted into a variable as ‘3 2 5’.