SpeechRecognitionResult
class SpeechRecognitionResult extends Message
A speech recognition result corresponding to a portion of the audio.
Protobuf type Google\Cloud\Speech\V1\SpeechRecognitionResult
Methods
No description
Output-only May contain one or more recognition hypotheses (up to the
maximum specified in max_alternatives
).
Output-only May contain one or more recognition hypotheses (up to the
maximum specified in max_alternatives
).
Details
at line 26
__construct()
at line 38
RepeatedField
getAlternatives()
Output-only May contain one or more recognition hypotheses (up to the
maximum specified in max_alternatives
).
Generated from protobuf field repeated .google.cloud.speech.v1.SpeechRecognitionAlternative alternatives = 1;
at line 50
setAlternatives(array|RepeatedField $var)
Output-only May contain one or more recognition hypotheses (up to the
maximum specified in max_alternatives
).
Generated from protobuf field repeated .google.cloud.speech.v1.SpeechRecognitionAlternative alternatives = 1;