Troubleshooting of Google cloud speech to text: Difference between revisions

Jump to navigation Jump to search
m
 
(One intermediate revision by the same user not shown)
Line 107: Line 107:


Solution: (1) Use the short audio file which shorter than 1 min or (2) Modify the uri from {{kbd | key=<nowiki>speech:recognize</nowiki>}} to {{kbd | key=<nowiki>speech:longrunningrecognize</nowiki>}} for long audio file which longer than 1 min
Solution: (1) Use the short audio file which shorter than 1 min or (2) Modify the uri from {{kbd | key=<nowiki>speech:recognize</nowiki>}} to {{kbd | key=<nowiki>speech:longrunningrecognize</nowiki>}} for long audio file which longer than 1 min


== sample_rate_hertz (16000) in RecognitionConfig must either be unspecified or match the value in the FLAC header ==
== sample_rate_hertz (16000) in RecognitionConfig must either be unspecified or match the value in the FLAC header ==
Line 159: Line 158:


== Related ==
== Related ==
* {{Gd}} [https://cloud.google.com/speech-to-text/docs/best-practices Best Practices  |  Cloud Speech API Documentation  |  Google Cloud]
* {{Gd}} [https://cloud.google.com/speech-to-text/docs/best-practices Best Practices  |  Cloud Speech API Documentation  |  Google Cloud]
* official document: [https://cloud.google.com/speech-to-text/docs/troubleshooting Troubleshooting of Google Speech-to-text API]
* [https://groups.google.com/forum/#!forum/cloud-speech-discuss cloud-speech-discuss - Google Group]
* [https://groups.google.com/forum/#!forum/cloud-speech-discuss cloud-speech-discuss - Google Group]
* [https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/speech/ php-docs-samples/speech at master · GoogleCloudPlatform/php-docs-samples]
* [https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/speech/ php-docs-samples/speech at master · GoogleCloudPlatform/php-docs-samples]
Anonymous user

Navigation menu