Reference documentation and code samples for the Google Cloud Ces V1 Client class RecognitionResult.
Speech recognition result for the audio input.
Generated from protobuf message google.cloud.ces.v1.RecognitionResult
Namespace
Google \ Cloud \ Ces \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ transcript |
string
Optional. Concatenated user speech segments captured during the current turn. |
getTranscript
Optional. Concatenated user speech segments captured during the current turn.
| Returns | |
|---|---|
| Type | Description |
string |
|
setTranscript
Optional. Concatenated user speech segments captured during the current turn.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|