SpeechRecognitionPhrase: boost property
The boost
read-only property of the
SpeechRecognitionResult
interface returns a floating pointing number representing the amount of boost you want to give the corresponding phrase
.
Value
A floating pointing number between 0.0
and 10.0
(inclusive) representing the amount of boost you want to give to the phrase
. This value is roughly equivalent to the natural log of the number of times more likely the website thinks this phrase is to appear than what the speech recognition model knows. Higher values make the phrase
more likely to be recognized.
A high value such as 9.0
or 10.0
might make the recognition engine erroneously recognize other phrases as the specified phrase, therefore such values should be rarely set when constructuring SpeechRecognitionPhrase
objects.
Specifications
This feature does not appear to be defined in any specification.>Browser compatibility
Loading…