I'm learning on Speech recognition. I'm using System.Speech
this is the code:
var currentCulture = (from r in SpeechRecognitionEngine.InstalledRecognizers()
where r.Culture.Equals(Thread.CurrentThread.CurrentCulture)
select r.Culture).FirstOrDefault();
recognizer = new SpeechRecognitionEngine(currentCulture);
I get currentCulture equals to null, since in debug I get SpeechRecognitionEngine.InstalledRecognizers().Count is equal to 0.
I found this question: SpeechRecognitionEngine.InstalledRecognizers returns No recognizer installed
He says he solved using Microsoft.Speech instead of System.Speech.
I searched in Reference->add reference->assembly, I don't find Microsoft.Speech. Tried Nuget Package Manager searching Microsoft.Speech, but not found it.
Googling I found MSI package to install Microsoft.Speech here: https://www.microsoft.com/en-us/download/details.aspx?id=27225
Restarted my machine, still I searched in Reference->add reference->assembly, I don't find Microsoft.Speech.
Now my doubts are:
- System.Speech Vs Microsoft.Speech differences
- How to install recongnizers for System.Speech, if it fits better.
- How to add reference to Microsoft.Speech
- How to use Microsoft.Speech, if it fits better, maybe the code to use will be
different.