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.

Adding a phrase list to the speech recognition request in azure communication services

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

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 java sdk?

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" to add 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
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,485 questions
0 comments No comments
{count} votes