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
gefragt vor 3 Jahren346 Aufrufe
1 Antwort
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
beantwortet vor 3 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen