Search code examples
c++speech-recognitionsapisystem.speech.recognitionmicrosoft-speech-api

Does system.speech api supports to c++ language to development?


I'm currently doing a research on a offline desktop tool that is able to recognize to user' voice commands. For now, I look at is the possibility of using Microsoft's System.Speech API which is for desktop sapi.

In its official documentation, there is just some c# samples. But I need to use this api using c++ to be able implement my java application.

So my question is Does system.speech api supports to c++ language to development ?


Solution

  • In short, no. System.Speech is a managed library that runs on top of SAPI. On the other hand, SAPI itself is a C++ library. As Hans says, you're going to be far better off directly interacting with SAPI rather than trying to munge the .NET library into your Java app.