Menu

Spinix integration with C#

Help
Noor
2015-02-06
2015-06-17
  • Noor

    Noor - 2015-02-06

    I have idea about speech recognition but confused how to integrate CMu Spinix with .NET framework.It would be really helpful if anyone can share some info on it

     
    • Nickolay V. Shmyrev

      There are multiple ways to interoperate with C#:

      1) Invoke C code from dll with pinvoke. See for example here:

      http://stackoverflow.com/questions/25900923/calling-pocketsphinx-in-c-sharp-accesviolationexception

      2) Run pocketsphinx in a server and communicate through the socket

      3) Run pocketsphinx as sub-process and read results from stdout

      4) Run sphinx with ikvm virtual machine as Travis pointed below (the hardest way).

      The exact way depends on your needs.

       
  • Travis Banger

    Travis Banger - 2015-02-06

    That is a very tall order, Noor.

    The closest I can imagine would be some sort of .Net-compatible version of Java.

    BTW: This kind of question is more appropriate (ie, you may get better responses) in the other "Sphinx-4 Help" forum:

    https://sourceforge.net/p/cmusphinx/discussion/sphinx4/

    (good luck -- you will need it!)

     
  • Konstantin Konstantin

    Good day!
    Can i use pocketsphinx_continuous as subprocess and work with -inmic mode?
    I want to set microphone work to this utility and get results from it.
    Is it possible for .Net?
    Thank you!

     
    • Nickolay V. Shmyrev

      No, it is recommended to use pocketsphinx through interop.

       

Log in to post a comment.