Grammar in Google Web Speech API

时间秒杀一切 提交于 2019-11-26 17:14:49

问题


Can I improve Google speech API recognition by give him a words list (in my case the request of user is very predictable) to make recognition more accurate?


回答1:


I can't speak for Chrome, but in Android they are quite clear that you cannot provide a grammar. In Android speech recognition you are limited to a choice of two models: "free form" and "web search".

See Android: Speech Recognition Append Dictionary?




回答2:


Correct answer is: no, you can't. =(




回答3:


Updated answer for August 20, 2019

Although currently in beta, Google has released new capability which allows you to

include a list of phrases to act as "hints" to Cloud Speech-to-Text. Providing these hints, a technique called speech adaptation, helps Speech-to-Text API to recognize the specified phrases from your audio data."

See https://cloud.google.com/speech-to-text/docs/context-strength



来源:https://stackoverflow.com/questions/7433801/grammar-in-google-web-speech-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!