This tutorial will explain you how to recognize Hindi Words using Sphinx4 Java API
Requirements :
Implementing Hindi Speech Recognizer:
Requirements :
- JDK 6 ( J2SE )
- Eclipse SDK ( preferably use Eclipse Classic)
- Sphinx 4.0
- JSAPI ( Included in Sphinx 4.0 )
- Hindi Speech Recognizer Source Files
Implementing Hindi Speech Recognizer:
- Install JDK 6.
- Extract Sphinx 4 to any drive (preferably C Drive).
- Go to C:\sphinx4-1.0beta5\lib and run jsapi.exe file.This will create jsapi.jar file in same folder.
- Open Eclipse and select Workspace for your project.
- File -> New -> Java Project. Give Project name as HindiSpeechRecognizer.
- Adding jars to project
- Right Click on Project name and go to properties.
- Click on Java Build Path and Select Libraries.
- Add Library -> User Library -> User Libraries -> New.Give User Library name as sphinx and prees Ok.
- Click on newly created Library and select add JAR's
- Add following JAR's to Library
- js.jar Path=C:\sphinx4-1.0beta5\lib
- jsapi.jar Path=C:\sphinx4-1.0beta5\lib
- Sphinx4.jar Path=C:\sphinx4-1.0beta5\lib
- tags.jar Path=C:\sphinx4-1.0beta5\lib
- HelloWorld.jar Path=C:\sphinx4-1.0beta5\bin
- Extract Source Files for Recognizer and replace 'src' folder with 'src' folder of 'HindiSpeechRecognizer' Project.
- Replace WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.jar file with C:\sphinx4-1.0beta5\lib\WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.jar file
- Refresh 'HindiSpeechRecognizer' Project.
- Run HindiRecognizer.java file
..explain me better the 'src' step !! i stopped there and then nothing went right !! please...
ReplyDeleteHello Mr. Ashish,
ReplyDeleteit is a good attempt on hindi speech to text conversion , but in last step of running the HindiReconizer.java after i said anything like "mera naam ashish hai" it shows following exception:
"Exception in thread "main" java.io.FileNotFoundException: http://www.google.com/transliterate/indic?tlqt=1&langpair=en|hi&text=&&tl_app=1
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at edu.cmu.sphinx.demo.helloworld.HindiToEnglishTranslation.translate(HindiToEnglishTranslation.java:25)
at edu.cmu.sphinx.demo.helloworld.HindiRecognizer.main(HindiRecognizer.java:55)
"
here HindiToEnglishTranslation.java:25 is BufferedReader in = new BufferedReader(new InputStreamReader(yc.getInputStream()));
and HindiRecognizer.java:55 is
System.out.println("You said: " + HindiToEnglishTranslation.translate(resultText) + '\n');
Please tell me the solution of it and if possible then send me the solution at my email-id mohitjain012@gmail.com, please help me, Thanku..
i have the same problem as mohit has been coping with
ReplyDeletekindly give the solution
Can u please again upload the source code of hindi speech recogniser
ReplyDeletecan somebody give me hindi speech recognition file i have done speech recognition module.and any one know about HMM mode .how it works .plz inform me...ASAP
ReplyDeletemy mail id -sandeep.bhatt@wheebox.com
(sandeep)
The source files are no longer available. Can you re-upload them to some location like google code and update your above link?
ReplyDeletecan u upload hindi speech recognizer files
ReplyDeleteThis comment has been removed by the author.
ReplyDeletecan u upload hindi speech recognizer files
ReplyDeleteHey, please upload "HindiRecognizer.java" source file.
ReplyDeleteHello could you please upload the source files? It would really be helpful. Thank you
ReplyDeletecan any one provide me src files?
ReplyDeleteasad.saleem50@gmail.com
can you please upload or mail me the source files
ReplyDeleteemail id: namanmittal003@outlook.com
if we create to another language..how we do it i means how to prepare vocabulary in Sphinx .do you hav eany idea ..thanks lot
ReplyDeletecan you please upload or mail me the source files
ReplyDeleteemail id: amitw63@gmail.com
please upload "HindiRecognizer.java" source file.or mail me it also source files.email id: vimalmaru185@gmail.com
ReplyDeleteI could not get Hindi Speech Recognizer File.
ReplyDeleteThere are no source file of Hindi Speech Recognizer on the given link. Can you please upload them or provide us with an alternative link to download them?
ReplyDeletehello friends may be this link will help you for Hindi.
ReplyDeletehttp://stackoverflow.com/questions/23491630/hindi-speech-to-text-using-sphinx4-in-java
Hindi Speech Recognizer Source Files Link not working
ReplyDeletecan you please share the hindi speech recognizer files ? please share it to athidi005@gmail.com plz.
ReplyDeletehi ashish sir can you please share hindi speech recognizer file to my email please
ReplyDeletesuraj.ligade01@gmail.com
Can u please email me the source files at
ReplyDeleteapurv.gandhwani@gmail.com
nice videos
ReplyDeleteKindly send project files at email
shanawar78@gmail.com
did u got the project files?
DeleteThis comment has been removed by the author.
ReplyDeleteKindly send me the project files
ReplyDeleteshanzakhan.sks@gmail.com
ReplyDeleteplz koi src folder snd kr skta hhh plzz i need it urgently plzzz
ReplyDeletemail=prashantsxn8@gmail.com
bro upload source files at swapnil85879795@gmail.com
ReplyDeletecan you send i need it
ReplyDeleteb/cause the file is not available
ReplyDeletemy email is lebeytedalo@gmail.com
Kindly send project files to my email lebeytedalo@gmail.com
ReplyDelete