jabber-tools / cognitive-services-speech-sdk-rs

Apache License 2.0
24 stars 15 forks source link

Add example for Embedded Continuous Recognition #18

Open sam-byng opened 5 months ago

sam-byng commented 5 months ago

Essentially, combining continuous_recognition_from_file with embedded_recognize_once_async.

Bindings.rs was auto-updated in my VS Code instance. Please let me know if that introduces an issue.

adambezecny commented 5 months ago

hi,

thank you for the PR! Embedded models is something I am really interested in testing for long long time. The problem is Microsoft exposes embedded models' details only to enterprise customers in limited access program(see here https://learn.microsoft.com/en-us/azure/ai-services/speech-service/embedded-speech?tabs=android-target%2Cjre&pivots=programming-language-csharp#embedded-speech-sdk-packages).

Do you have access to some embedded model? Otherwise there is no way to test it.

sam-byng commented 5 months ago

Do you have access to some embedded model? Otherwise there is no way to test it.

I will attempt to get access and test this example. Expect this to take a week or two.

adambezecny commented 5 months ago

it would be great to have this model somewhere available for download and testing with library. this feature is there for long time but was never tested properly. At the time when this was introduced it was not easy to get the access from Microsoft, maybe things have changed form that time for better :) I wasn't following on this for some time, not sure.

sam-byng commented 5 months ago

It's probably still difficult to get access if you're not working on an enterprise product, even then embedded speech is viewed as last resort for enterprises with internet / data policy constraints. https://learn.microsoft.com/en-us/legal/cognitive-services/speech-service/embedded-speech/limited-access-embedded-speech?context=%2Fazure%2Fai-services%2Fspeech-service%2Fcontext%2Fcontext#registration-process

adambezecny commented 5 months ago

ok, let me think about it for a moment. Since you don't have access to embedded models and this PR simply adds example there is no real need to merge it soon. I will keep it open so that I don't forget about it. I will try get the access somehow as well, let's see how it goes.