A community member has associated this post with a similar question:
Can you add a phrase list to the CallMediaRecognizeSpeechOptions class when using speech-to- text cognitive services from azure communications service

Only moderators can edit this content.

Is it possible to add a phrase list to the speech recognition request using the ACS call automation sdk? I have about 20 place names that I would like to add as phrases to the recognition process but I cannot find a way to do it via the call-automation

John 0 Reputation points
2024-05-17T09:16:18.88+00:00

I have about 20 place names that I would like to add as phrases to the recognition process but I cannot find a way to do it via the call-automation java sdk? I am using 1.2.0

This call is the only access point to the speech recognition environment via ACS

CallMediaRecognizeSpeechOptions options = new CallMediaRecognizeSpeechOptions(iJourney.getTarget(), Duration.ofSeconds(2))

.setInterruptPrompt(false).setPlayPrompt(iPrompt).setSpeechLanguage(iLanguage).setOperationContext(iContext)

.setRecognizeInputType(RecognizeInputType.SPEECH).setInitialSilenceTimeout(Duration.ofSeconds(10));

However I don't see any option to add a phrase list. Is this possible or planned ?

Is my only option to build a custom model using "Text based data" with the place names and then set the setSpeechRecognitionModelEndpointId ?

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,464 questions
Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
724 questions
0 comments No comments
{count} votes