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.
Properties
confidence
readonly 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.
transcript
readonly transcript: string;
The transcript read-only property of the SpeechRecognitionResult interface returns a string containing the transcript of the recognized word(s).