Mah*_*mar 8 machine-learning speech-to-text google-cloud-platform
是否可以使用Google Cloud Platform Machine Learning的Speech API自动检测口语?
https://cloud.google.com/speech/docs/languages表示支持的语言列表,用户需要手动设置此参数以执行语音转文本.
谢谢Mahesh
对 Google Cloud Speech API 的请求需要以下配置参数:encoding、sampleRateHertz和languageCode。
https://cloud.google.com/speech/reference/rest/v1/RecognitionConfig
因此,Google Cloud Speech API 服务无法自动检测所使用的语言。该服务将通过此参数 ( ) 配置languageCode以开始识别该特定语言的语音。
如果您想到与自动检测输入语言的 Google Cloud Translation API 类似,请考虑自动检测音频文件中使用的语言比文本文件需要更多的带宽、存储空间和处理能力。此外,Google Cloud Speech API 还提供流式语音识别(Streaming Speech Recognition),这是一种实时语音转文本服务,其中languageCode特别需要该参数。