Rei-x / discord-speech-recognition

Speech to text extension for discord.js
https://npmjs.com/package/discord-speech-recognition
MIT License
56 stars 22 forks source link

Google Speech to Text with Diarization? #60

Closed davesienkowski closed 1 year ago

davesienkowski commented 1 year ago

Do you know if it's possible, with your existing code, to add or enable the diarization config option for Google Speech to Text?

Rei-x commented 1 year ago

Hello! This library doesn't use Google Speech to Text from Google Cloud, just the old version of their speech api, that doesn't support it. Implementation was inspired by this recognize_google function from python speech recognition package.

You can read more here about available options: https://github.com/gillesdemey/google-speech-v2

davesienkowski commented 1 year ago

Thank you for the reply as I'm a novice coder. I was having trouble differentiating between the multiple Google Speech to Text APIs. Wasn't sure which of the Google Speech to Text APIs was the latest so I appreciate you providing those links.