chatziko / ha-google-cloud-stt

Use Google Cloud Speech-to-Text in Home Assistant.
53 stars 13 forks source link

[enhancement] Allow phraseSets and customClasses #7

Closed joie96 closed 7 months ago

joie96 commented 7 months ago

Hey,

would it be possible to allow phraseSets and customClasses? This would improve the accuracy of speech recognition. Maby we could specify this in configuration.yaml.

Here is an example: https://cloud.google.com/speech-to-text/docs/adaptation?hl=en

And for more info, see: https://cloud.google.com/speech-to-text/docs/reference/rest/v1/RecognitionConfig#SpeechAdaptation

Thanks for reading!

chatziko commented 7 months ago

This sounds cool, but I doubt I'll have time to implement it in the near future (especially given that it's not available in my native language :smile: )

joie96 commented 7 months ago

Ah I see. :D Thank you anyway!