我目前正在使用W3C Web SpeechAPI的西班牙语和普通话。我正在考虑切换到更健壮、更准确的API,并找到了GoogleSpeechAPI。虽然Web SpeechAPI是免费的,但我更愿意花钱来提高准确性(更低的错误率)。一般来说,我不需要转录长音频文件(通常最多6-8个单词的句子,但最多1-4个单词的句子),并打算从浏览器进行这些调用。 我找不到关于这两个API性能的文档,因此任何帮助做出切换的决
我已经在我的项目中使用googlespeech to text api两年多了,它工作得很好,但我一开始就开始出错了。 识别错误。Java.lang.Thread.run上的ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) (Thread.java:761) 我在android和ios中使用了相同的api
我希望有人能帮我弄清楚如何运行google的speech to text api。我尝试运行的特定代码是:src/function/transcribe_sync.phptranscribe_sync("mono.flac", 'en-US');
它找不到依赖项' not found in /home/bhaag/Documents/php-docs-samples-master
实际上,我使用它作为Google函数的Python代码:
我无法在speech_v1文件中正确导入requirements.txt库。pip_download_wheels had stderr output:\nERROR: Could not find a version that satisfies the requirement google-cloud-speech-v1from -r requirements.txt (line 3)) (from versions: none)\nERROR: No matc
to use another API key, use `r.recognize_google(audio, key="GOOGLE_SPEECH_RECOGNITION_API_KEY")`# instead of `r.recognize_google(audio)`
print("GoogleSpeech Recognition thinks you said " + r.recognize_<e