Reputation: 25
I downloaded the library files (.dll
) to make PocketSphinx work for Windows desktop. From the command prompt it is working. I want to use these dlls in a Java application so that I can create a .jar
and use it as a whole.
Upvotes: 2
Views: 422
Reputation: 25220
You can not use pocketsphinx.dll in java. You have to compile JNI extension in a special way as explained in:
Getting Started with JNI and C under Windows
pocketsphinx already supports SWIG, so you can create the wrapper automatically from pocketsphinx.i
interface description. However, you need to compile everything into dll file after that yourself. You can collect sources and just write another makefile.
Upvotes: 1