Grammar in Google Web Speech API

后端 未结 3 1591
我寻月下人不归
我寻月下人不归 2020-12-03 21:28

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?

相关标签:
3条回答
  • 2020-12-03 22:06

    For Google Cloud Speech API (Not Web Speech API) but some may find this useful:

    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

    0 讨论(0)
  • 2020-12-03 22:18

    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?

    0 讨论(0)
  • 2020-12-03 22:20

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

    0 讨论(0)
提交回复
热议问题