Azure Speech JS SDK Returns Single Item in NBest Array

Tom D 0 Reputation points
2024-12-18T13:53:27.55+00:00

When using the Cognitive Services JavaScript Speech SDK with OutputFormat.Detailed and the recognizeOnceAsync approach, the NBest array consistently contains only a single object instead of the expected multiple alternatives.

For example, when pronouncing 'flour', it would be anticipated to receive multiple items in the array, such as 'flower', which is a likely alternative.

Is this a bug in the SDK, or do I need to provide a different setting when creating the recognizer?

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,834 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.