问题描述
是否有使用Google云端平台机器学习语音API自动检测口语的选项?
指示支持的语言的列表,并且用户需要手动设置此参数以执行语音到文本。
感谢
Mahesh
Speech API需要以下配置参数:编码
, sampleRateHertz
和 languageCode
。
因此,Google Cloud Speech API服务不可能自动检测使用的语言。该服务将通过此参数( languageCode
)进行配置,以开始识别特定语言的语音。
如果您考虑到自动检测到输入语言的Google Cloud Translation API并行,请考虑自动检测音频文件中使用的语言需要比文本文件更多的带宽,存储空间和处理能力。此外,Google云语音API还提供流式语音识别,这是一种实时语音到文本服务,其中特别需要 languageCode
参数。
Is there an option to automatically detect the spoken language using Google Cloud Platform Machine Learning's Speech API?
https://cloud.google.com/speech/docs/languages indicates the list of the languages supported and user needs to be manually set this parameter to perform speech-to-text.
ThanksMahesh
Requests to Google Cloud Speech API require the following configuration parameters: encoding
, sampleRateHertz
and languageCode
. https://cloud.google.com/speech/reference/rest/v1/RecognitionConfig
Thus, it is not possible for the Google Cloud Speech API service to automatically detect the language used. The service will be configured by this parameter (languageCode
) to start recognizing speech in that specific language.
If you had in mind a parallel with Google Cloud Translation API, where the input language is automatically detected, please consider that automatically detecting the language used in an audio file requires much more bandwidth, storage space and processing power than in a text file. Also, Google Cloud Speech API offers Streaming Speech Recognition, a real-time speech-to-text service, where the languageCode
parameter is especially required.
这篇关于如何检测谷歌云平台机器学习语音API所使用的语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!