The SpeechRecognitionAlternative interface of the Web Speech API represents a single word that has been recognised by the speech recognition service.

Documentation SpeechRecognitionAlternative by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

read onlyconfidence:Float

Returns a numeric estimate of how confident the speech recognition system is that the recognition is correct.

read onlytranscript:String

Returns a string containing the transcript of the recognised word.