Share via

Azure Speech API result id is the same for different phrases

ross francis hop 1 Reputation point
2021-06-18T09:22:29.653+00:00

Please see the list below which indicates the file, result id and result text. As you can observe the result id does not change when the text has clearly shifted from one phrase to the next. This makes it impossible to display interim results. I've highlighted in bold where the different phrases begin.

  1. App.tsx:65 2B5742B0CD7347988FE6DD980E0D21FD hello
  2. App.tsx:65 2B5742B0CD7347988FE6DD980E0D21FD hello hello
  3. App.tsx:76 2B5742B0CD7347988FE6DD980E0D21FD Hello hello.
  4. App.tsx:65 2B5742B0CD7347988FE6DD980E0D21FD how are
  5. App.tsx:65 2B5742B0CD7347988FE6DD980E0D21FD how are you
  6. App.tsx:76 2B5742B0CD7347988FE6DD980E0D21FD How are you?
  7. App.tsx:65 2B5742B0CD7347988FE6DD980E0D21FD testing
  8. App.tsx:76 2B5742B0CD7347988FE6DD980E0D21FD Testing
  9. App.tsx:65 2B5742B0CD7347988FE6DD980E0D21FD testing
  10. App.tsx:65 2B5742B0CD7347988FE6DD980E0D21FD testing 1
  11. App.tsx:65 2B5742B0CD7347988FE6DD980E0D21FD testing 1-2
  12. App.tsx:65 2B5742B0CD7347988FE6DD980E0D21FD testing 123
  13. App.tsx:76 2B5742B0CD7347988FE6DD980E0D21FD testing 123.
  14. App.tsx:65 2B5742B0CD7347988FE6DD980E0D21FD huh
  15. App.tsx:76 2B5742B0CD7347988FE6DD980E0D21FD Huh?
Azure Speech in Foundry Tools

1 answer

Sort by: Most helpful
  1. Rohit Mungi 49,131 Reputation points Microsoft Employee Moderator
    2021-06-18T11:38:22.413+00:00

    @ross francis hop I have tried a similar scenario with the .net SDK by calling SpeechRecognizer.Recognizing Event and the result id is different. Could you please try this option and check if this works for you?

    You can try this sample from this solution which loads many scenarios available of STT and TTS in a simple console app. The region and key of your speech resource needs to be updated in corresponding files.

    If you would like to lookup the sample directly this snippet should help. In the screen shot below I have printed the result id to confirm it is different.

    107073-image.png

    Was this answer helpful?

    0 comments No comments

Your answer

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