Skip to content

Web Speech API Contextual Biasing #517

@evanbliu

Description

@evanbliu

WebKittens

@marcoscaceres

Title of the proposal

Web Speech API Contextual Biasing

URL to the spec

https://webaudio.github.io/web-speech-api/#speechreco-phrase

URL to the spec's repository

https://webaudio.github.io/web-speech-api/

Issue Tracker URL

No response

Explainer URL

No response

TAG Design Review URL

No response

Mozilla standards-positions issue URL

mozilla/standards-positions#1255

WebKit Bugzilla URL

No response

Radar URL

No response

Description

The Web Speech API's contextual biasing functionality allows developers to improve the accuracy of speech recognition by providing a list of specific words or phrases that are likely to be spoken. This is accomplished by creating a SpeechRecognitionPhraseList containing SpeechRecognitionPhrase objects, each with a text string and a numerical "boost" value to indicate how much more likely that phrase is. This enables the speech recognizer to be tailored to the specific context of a web application, such as one containing unique brand names or technical jargon. By giving the recognizer these hints, it is less likely to misinterpret these specific terms, leading to a more accurate and reliable user experience.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions