Microsoft Speech Recognition in a web service

I am trying to use the System.Speech.Recognition namespace for speech recognition in a web service. In fact, WS calls the DLL that uses this namespace.

The problem is ... I can't. Firstly, I had an error related to access. After changing the Identity of my application pool in LocalSystem (security, I know), it disappeared. But there was a timeout. I get no error, but no answer.

I did some tests, and the same code (very simple) that I use to recognize text in WAV returns an answer in about 2 seconds when it is integrated into a desktop application, but it hangs and does nothing on the network.

I think I'm missing something ... Shouldn't I use System.Speech.Recognition in a web application? Should I use something else?

Any help is greatly appreciated.

Thank!

+3
source share
2 answers

What operating system do you work on? Not all Windows operating systems include speech recognizers. Use the System.Speech.Recognition.SpeechRecognitionEngine.InstalledRecognizers () method to find all the speech recognizers you installed that you installed.

You are asking

System.Speech.Recognition ? - ?

System.Speech ASP.NET, Microsoft ( ) API . . Microsoft.Speech, SpeechServer, OCS UCMA.

, http://www.microsoft.com/downloads/details.aspx?FamilyID=b20967b1-6cf5-4a4b-b7ae-622653ac929f&displaylang=en.

-1

Source: https://habr.com/ru/post/1746733/


All Articles