Grammar in Google Web Speech API

2019-01-08 01:22发布

问题:

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?

Thanks.

回答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. =(