For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Interface SpeechRecognitionAlternative

The SpeechRecognitionAlternative interface of the Web Speech API represents a single word that has been recognized by the speech recognition service. Available only in secure contexts.

MDN Reference

interface SpeechRecognitionAlternative {
    confidence: number;
    transcript: string;
}
Index
confidence: number

The confidence read-only property of the SpeechRecognitionResult interface returns a numeric estimate of how confident the speech recognition system is that the recognition is correct.

MDN Reference

transcript: string

The transcript read-only property of the SpeechRecognitionResult interface returns a string containing the transcript of the recognized word(s).

MDN Reference

Was this helpful?