Speech
class Speech extends Resource (View source)
The "speech" collection of methods.
Typical usage is:
$speechService = new Google\Service\Speech(...);
$speech = $speechService->speech;
Methods
Performs asynchronous speech recognition: receive results via the
google.longrunning.Operations interface. Returns either an Operation.error
or an Operation.response
which contains a LongRunningRecognizeResponse
message. For more information on asynchronous speech recognition, see the
how-to.
Performs synchronous speech recognition: receive results after all audio has been sent and processed. (speech.recognize)
Details
Operation
longrunningrecognize(LongRunningRecognizeRequest $postBody, array $optParams = [])
Performs asynchronous speech recognition: receive results via the
google.longrunning.Operations interface. Returns either an Operation.error
or an Operation.response
which contains a LongRunningRecognizeResponse
message. For more information on asynchronous speech recognition, see the
how-to.
(speech.longrunningrecognize)
RecognizeResponse
recognize(RecognizeRequest $postBody, array $optParams = [])
Performs synchronous speech recognition: receive results after all audio has been sent and processed. (speech.recognize)