Improve Google Speech-to-Text transcriptions with Speech Context [Jigasi]

Hi everyone :slight_smile:

We are using Jigasi with the Google Speech-to-text configuration to transcribe our meetings. However, we would like to use the Speech Context feature to improve our transcriptions.

https://cloud.google.com/speech-to-text/docs/reference/rest/v1p1beta1/RecognitionConfig#speechcontext

Is it possible to add a list of phrases to the GoogleCloudTranscriptionService ?
I notice that some implememtation can be found in the GoogleCloudTranscriptionService file:
https://github.com/jitsi/jigasi/blob/master/src/main/java/org/jitsi/jigasi/transcription/GoogleCloudTranscriptionService.java#L396

We tried adding phrases via custom-sip-communicator.properties configuration file, but it is not working. I don’t think this configuration was created for this case :confused:

org.jitsi.jigasi.transcription.action.phrase1.PHRASE= Awesome phrase
org.jitsi.jigasi.transcription.action.phrase2.PHRASE= Awesome phrase part 2

Is there any way to add Speech Context phrases via Jigasi?

Thank you for your help :innocent:

It seems you can use that … but this is a feature we have been experimenting with in early 2018 or 2017 and was not used since then, so you may need to debug it to verify it works adding those. Any PRs are welcome.

1 Like