Hello @clark-zh ,
Since your question is tagged with UWP, I will answer it from the UWP perspective.
define custom recognition constraints is used to filtering ASR results. but we want to custom ASR model, which API is suitable?
The Windows.Media.SpeechRecognition API does not natively support setting a custom SR engine. If you need to use a custom SR engine, you might need to consider System.Speech API and Microsoft Speech API, which offer Engine-Level Interfaces.
If you need help with System.Speech API, please ask a new question with "C#" tag.
For Windows.Media.SpeechRecognition,System.Speech.Recognition and Microsoft Speech API (SAPI), where are their default model running? CPU, GPU or NPU?
The Windows.Media.SpeechRecognition API uses the built-in speech recognition capabilities provided by Windows, which typically run on the CPU.
Are there any permission restrictions on the use of these APIs.
There are no specific permission restrictions on Windows.Media.SpeechRecognition API, but you must comply with Microsoft's terms of service and any relevant privacy and security guidelines. Additionally, In UWP, you may require specific permissions to access the microphone and other resources on the device.
Thank you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.