I need to write an application based on sphinx3, so I'd be able to perform recognition as I do via "sphinx3_decode" command.
Could anyone point me some guidelines (libs to import, functions,...) to do so, please ?
Thanks in advance !!!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
>but I'm not able to find the jars >TIDIGITS_8gau_13dCep_16k_40mel_130Hz_6800Hz.jar , >WSJ_8gau_13dCep_8k_31mel_200Hz_3500Hz.jar and >WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.jar.
now, i have those 3 files under c:\ ... \sphinx4\lib directory.
but those 3 files, indeed, do not exist when i download source file from cmusphinx.svn.sourceforge.net using subversion (i do not remember the exact command i used to download it, but something like: c:\>svn checkout https://cmusphinx.svn.sourceforge.net/svnroot/cmusphinx ...)
i get those 3 files after i build sphinx4 using ant command. these are the steps:
- go to c:\ ... \sphinx4 directory
- under this directory, if you give dir command, you will find build.xml file (33 kb)
- then give this command to build sphink4: c:\ ... \sphinx4>ant
(of course after you have jsapi.jar in its place)
ant will build sphinx4 and in approximately 2 minutes i get those 3 files under c:\ ... \sphinx4\lib directory
TIDIGITS ... 1,403 kb
WSJ 16k ... 21,770 kb
WSJ 8k ... 10,863 kb .. and several other jars.
maybe you can try to do the same. i hope this helps.
regards,
Sebastian
ps. sorry, i do not know how to use netbean (not that i do not want to .. :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thanks for the link, but it doesn't help me very much... I see that the files just contain header's functions, not implementation.
I need some suggestions... my application is supposed just for decoding, making calls from a "main" function to the files built during the training process.
Taking a look to the sphinx4's documentation, I read how to intall sphinx4 using an IDE. I thought it might be interesting (and easier) if I want to build an application (don't you?), but I fail at "Add JSAPI 1.0 as a jar to the Eclipse Project" step (http://cmusphinx.sourceforge.net/sphinx4/doc/Eclipse.html) because there's no jsapi.jar at sphinx4 package...
I'm completly lost. Sphinx3 ? Sphinx4 ? Any demo about how to do it ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
>but I fail at "Add JSAPI 1.0 as a jar to the Eclipse Project" step >(http://cmusphinx.sourceforge.net/sphinx4/doc/Eclipse.html) because >there's no jsapi.jar at sphinx4 package...
hi xavic383,
jsapi.jar is inside jsapi.exe or jsapi.sh in sphinx4\lib directory
i got the jsapi.jar after following instructions in this README.txt file also found in sphinx4\lib directory (for windows os)
here are part of the README.txt:
1.Unix Systems - This distribution includes a self-extracting shell
archive containing the jsapi.jar file. If you are running under Linux
or the SolarisTM Operating Environment, (or any other system that
supports sh) follow these instructions:
1. Go to the sphinx4/lib directory
2. Type sh ./jsapi.sh
3. If the binary license agreement is acceptable, accept
it by typing "y". The jsapi.jar file will be unpacked
and deposited into the lib directory.
2.Win32 - This distribution includes an installer program containing the jsapi.jar file. If you are running on a Win32 Operating system follow these instructions:
1. Go to the sphinx4/lib directory
2. Type .\jsapi.exe
3. If the binary license agreement is acceptable, accept
it by clicking "I Agree". The jsapi.jar file will be unpacked and deposited into the lib directory.
regards,
sebastian
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I work on Unix system, and this is what i get after typing "y":
x - creating lock directory
x - extracting jsapi.jar (binary)
./jsapi.sh: 1428: uudecode: not found
restore of jsapi.jar failed
./jsapi.sh: 1428: cannot open jsapi.jar: No such file
jsapi.jar: original size 51811, current size !
Obviously, no jsapi.jar is unpacked and deposited into the lib directory...
Any suggestions, please ??
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As I couldn't get the jsapi.jar in Linux, I've tried it with Windows and it succeded, so I'm trying to add sphinx4 to a Netbeans project on Windows.
I'm at the last step: "Add Sphinx-4 specific jars as jars to the NetBeans Project" (http://cmusphinx.sourceforge.net/sphinx4/doc/NetBeans.html), but I'm not able to find the jars TIDIGITS_8gau_13dCep_16k_40mel_130Hz_6800Hz.jar , WSJ_8gau_13dCep_8k_31mel_200Hz_3500Hz.jar and WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.jar.
Can you help me ?
Thanks a lot !!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!!
I need to write an application based on sphinx3, so I'd be able to perform recognition as I do via "sphinx3_decode" command.
Could anyone point me some guidelines (libs to import, functions,...) to do so, please ?
Thanks in advance !!!
>but I'm not able to find the jars >TIDIGITS_8gau_13dCep_16k_40mel_130Hz_6800Hz.jar , >WSJ_8gau_13dCep_8k_31mel_200Hz_3500Hz.jar and >WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.jar.
now, i have those 3 files under c:\ ... \sphinx4\lib directory.
but those 3 files, indeed, do not exist when i download source file from cmusphinx.svn.sourceforge.net using subversion (i do not remember the exact command i used to download it, but something like: c:\>svn checkout https://cmusphinx.svn.sourceforge.net/svnroot/cmusphinx ...)
i get those 3 files after i build sphinx4 using ant command. these are the steps:
- go to c:\ ... \sphinx4 directory
- under this directory, if you give dir command, you will find build.xml file (33 kb)
- then give this command to build sphink4: c:\ ... \sphinx4>ant
(of course after you have jsapi.jar in its place)
ant will build sphinx4 and in approximately 2 minutes i get those 3 files under c:\ ... \sphinx4\lib directory
TIDIGITS ... 1,403 kb
WSJ 16k ... 21,770 kb
WSJ 8k ... 10,863 kb .. and several other jars.
maybe you can try to do the same. i hope this helps.
regards,
Sebastian
ps. sorry, i do not know how to use netbean (not that i do not want to .. :)
http://www.speech.cs.cmu.edu/sphinx/sphinx3/doxygen/html/dirs.html
Actually it's just better to read sphinx3_livedecode or sphinx3_livepretend code and follow it.
Hi,
thanks for the link, but it doesn't help me very much... I see that the files just contain header's functions, not implementation.
I need some suggestions... my application is supposed just for decoding, making calls from a "main" function to the files built during the training process.
Taking a look to the sphinx4's documentation, I read how to intall sphinx4 using an IDE. I thought it might be interesting (and easier) if I want to build an application (don't you?), but I fail at "Add JSAPI 1.0 as a jar to the Eclipse Project" step (http://cmusphinx.sourceforge.net/sphinx4/doc/Eclipse.html) because there's no jsapi.jar at sphinx4 package...
I'm completly lost. Sphinx3 ? Sphinx4 ? Any demo about how to do it ?
>but I fail at "Add JSAPI 1.0 as a jar to the Eclipse Project" step >(http://cmusphinx.sourceforge.net/sphinx4/doc/Eclipse.html) because >there's no jsapi.jar at sphinx4 package...
hi xavic383,
jsapi.jar is inside jsapi.exe or jsapi.sh in sphinx4\lib directory
i got the jsapi.jar after following instructions in this README.txt file also found in sphinx4\lib directory (for windows os)
here are part of the README.txt:
1.Unix Systems - This distribution includes a self-extracting shell
archive containing the jsapi.jar file. If you are running under Linux
or the SolarisTM Operating Environment, (or any other system that
supports sh) follow these instructions:
1. Go to the sphinx4/lib directory
2. Type sh ./jsapi.sh
3. If the binary license agreement is acceptable, accept
it by typing "y". The jsapi.jar file will be unpacked
and deposited into the lib directory.
2.Win32 - This distribution includes an installer program containing the jsapi.jar file. If you are running on a Win32 Operating system follow these instructions:
1. Go to the sphinx4/lib directory
2. Type .\jsapi.exe
3. If the binary license agreement is acceptable, accept
it by clicking "I Agree". The jsapi.jar file will be unpacked and deposited into the lib directory.
regards,
sebastian
Hi Sebastian,
I work on Unix system, and this is what i get after typing "y":
Obviously, no jsapi.jar is unpacked and deposited into the lib directory...
Any suggestions, please ??
Hi again Sebastian,
As I couldn't get the jsapi.jar in Linux, I've tried it with Windows and it succeded, so I'm trying to add sphinx4 to a Netbeans project on Windows.
I'm at the last step: "Add Sphinx-4 specific jars as jars to the NetBeans Project" (http://cmusphinx.sourceforge.net/sphinx4/doc/NetBeans.html), but I'm not able to find the jars TIDIGITS_8gau_13dCep_16k_40mel_130Hz_6800Hz.jar , WSJ_8gau_13dCep_8k_31mel_200Hz_3500Hz.jar and WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.jar.
Can you help me ?
Thanks a lot !!