How to install VOCE for C ++?

I am trying to install a VOCE api, which is a voice recognition API created for both C ++ and Java. This is the second time I work with external C ++ libraries and the first time I work with Java + C ++ api.

Voce Link - http://voce.sourceforge.net/

There really are no .lib files in this API, but only .jar files! I read the entire read me file, but I donโ€™t know how to install it for C ++. I use QT, the latest version that works with the Visual Studio 2010 compiler.

How can I customize this? Please, help!

0
source share
2 answers

Looking at the C ++ header and examples from VOCE, it seems that the C ++ option uses the Java Native Interface (JNI) to enable C ++ to run the embedded JVM. All the code is still in Java, but you just need #'include he voce.h in your project and make sure you configure JNI correctly.

There is a useful JNI tutorial here .

+3
source

For C ++, it is best to use CMUSphinx project pocketsphinx:

http://cmusphinx.sourceforge.net

It provides a comparable interface in C ++, and Voce uses it anyway.

+2
source

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


All Articles