How to configure sphinx with netbeans

I have successfully configured sphinx4 using eclipse.

for these steps that I used.

  • copy the java and config files to the SRC folder.
  • all necessary jar files (in lib). lib folder added to project root
  • create these jar files (jsapi files too)
  • change the configuration file and specify the correct path
  • check java file

but at Netbeans I really don't understand how to take the right steps. Can anybody help me. jar files should be added to the "Libraries" ritual. then after adding them how to build them. in netbeans it does not show the SRC folder. therefore, all java files and configuration files should go to the fragment folder of the source packages.

can someone help me with this. you are welcome

+4
source share
3 answers

If you have sphinx4-1.0beta6, you can simply open the folder as a netbeans project. Open netbeans, click "Open Project", then go to the sphinx folder and open it. This is already the netbeans project file type with this version. I assume this will work in later versions too. I do not know why the Sphinx does not say this on its website.

+3
source

Sphinx4 is the Java library available in OSS , so you can use it like any library.

If your project uses maven / gradle, add the repository to your project configuration, then add the dependency on two packages - core-sphinx4 and sphinx4-data. The former is the main library, the latter is required if you want to learn American English. Then just start writing code.

If you want to rely on jar files, just download the sphinx4-core and sphinx4-data files from the repository and add them as a project dependency, and then start writing code.

If you want to modify or develop your own sphinx4, install Gradle support in your IDE and then import the latest sphinx4 sources as Gradle.

For more information and links, see the tutorial.

http://cmusphinx.sourceforge.net/wiki/tutorialsphinx4

0
source

enter image description here

Click "Add JAR / Folder" enter image description here select the jar file you want to add

enter image description here

enter image description here

0
source

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


All Articles