How do I use a custom vocabulary when using Amazon Transcribe streaming?

0

Hello, I am following this code: https://github.com/brandonmwest/amazon-transcribe-websocket-express

I was able to get it to work and transcribe my audio in real time. The thing is, I wanted to add a custom vocabulary. I made one on aws services by signing in and uploading a txt file. It says it is Ready. I then went into the code and added a new param &vocabulary-name="myvocab" where myvocab is the name of the vocab I uploaded on aws. I get this:

"The specified vocabulary doesn't exist. Check the name and try your request again."

What am I doing wrong? Thank you for any help

d5t
preguntada hace 3 años346 visualizaciones
1 Respuesta
0

I figured it out. I needed the region to match. I was using Amazon Transcribe on us-east-1 and my vocabulary was located on us-east-2 I guess? But it works now.

d5t
respondido hace 3 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas