Search code examples
javaspeech-recognitionspeech-to-textgoogle-speech-apigoogle-cloud-speech

Adding boost adaptation to google cloud speech in java


I'm using google's cloud speech api for speech to text conversion via microphone can anyone tell me how can i add a boost adaptation to my java code so the i can assign proper boost values to certain phrases. i need to do this in java. i've read an google document in which shows how you can add the values in json request : here's that link : " https://cloud.google.com/speech-to-text/docs/speech-adaptation" (at the bottom)

i need to do the same in java.


Solution

  • After doing a bit of research and reading the official documentation i finally found the solution to this on cloud speech document the answer mentioned by absin is also correct here's where i found the solution.

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

    Thanks for the help :-)