3

I am trying to dictate speech to text offline which can be done by Windows.Media.SpeechRecognition Namespace documentation doesn't provide the details on how to do continuous dictation On Device or Offline.

I am investigating the sample that Microsoft provides but not finding that option anywhere. SpeechRecognitionAndSynthesis

Ali123
  • 740
  • 13
  • 38
  • Have you checked this document-[Define custom recognition constraints](https://learn.microsoft.com/en-us/windows/apps/design/input/define-custom-recognition-constraints#specify-an-srgs-grammar-constraint-speechrecognitiongrammarfileconstraint). This document shows how to specify an SRGS grammar constraint in your app. – Roy Li - MSFT Aug 12 '21 at 06:56
  • @RoyLi-MSFT, thanks but i want to use it for continuous dictation not specific words. It's strange that the older version System.Speech.Recogntion has this feature (low quality) but the new one Windows.Media.SpeechRecognition doesn't have such as basic feature. – Ali123 Aug 12 '21 at 08:35
  • Well, I have to say that continuous dictation requires a scenario with network. You can't use it without network. It will give you an error `Network Failure`. – Roy Li - MSFT Aug 12 '21 at 09:19
  • I started continuous dictation async and my console app just sits there, doesn't recognize anything but also no error if I turn off wifi. – dmscs Jan 04 '22 at 18:35

0 Answers0