pocketsphinx has a SWIG interface "pocketsphinx.i" to generate wrappers in multiple language and one of them is C#.
It is not clear how to run the swig command in Windows and how to use the resulting library in a NetCore C# project.
What are the steps required to generate the wrapper library and use it in a C# NetCore app?
There is an official swig-based wrapper in github, you can compile it for Linux with Make or for Microsoft with CMake:
https://github.com/cmusphinx/pocketsphinx/tree/master/swig/csharp
You can also check
https://github.com/cmusphinx/pocketsphinx-unity-demo
You can use SWIG to generate a C# wrapper for PocketSphinx lib, like it done here: https://github.com/cmusphinx/pocketsphinx-unity-demo/tree/master/Assets/Pocketsphinx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With