Kendo UI for Vue SpeechToText Button Configuration Options
The Kendo UI for Vue Native SpeechToText Button component offers various configuration options for controlling how speech recognition works. This page outlines how to configure the speech recognition settings to meet your application's needs.
Basic Usage
The SpeechToText Button component can be easily integrated into your application by adding the component to your application and configuring its speech recognition options and events.
Language Configuration
You can set the language used for speech recognition with the lang
property. The SpeechToText Button component supports various language codes based on the Web Speech API language support.
Supported Languages
The available languages depend on the underlying speech recognition engine. For the browser's Web Speech API, refer to the list of supported languages.
Continuous Recognition
The continuous
property determines whether the speech recognition should continue listening after results are returned. When set to true
, the recognition will continue until explicitly stopped, allowing users to speak multiple sentences.
Interim Results
With interimResults
set to true
, the component will return partial results as they become available while the user is speaking. This provides real-time feedback to users as they speak.
Multiple Recognition Alternatives
The SpeechToText Button component can provide alternative interpretations of the spoken text by configuring the maxAlternatives
property. This is useful for ambiguous speech or words with similar pronunciations.