sphinx4

CMUSphinx live speech recognition too slow?

雨燕双飞 提交于 2019-12-07 15:48:07
问题 CMU Sphinix is toooo Slow for recognizing live speech.I don't know if you have any idea for boost it? This is my configuration: configuration.setAcousticModelPath("WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz"); configuration.setDictionaryPath("cmudict.0.6d"); configuration.setLanguageModelPath("en-us.lm.dmp"); 回答1: We are currently working on speedup, but for now sphinx4 is not realtime for large vocabulary. It's actually not a trivial task. If you want a fast and not very accurate transcription

How to add words to sphinx?

≡放荡痞女 提交于 2019-12-06 10:14:53
问题 How to add my words to sphinx using java? Iam a new learner for learning sphinx,I just know how to use it.I want to learn adding my words.anybody can help me. 回答1: Add the word to the dictionary file sphinx4/models/acoustic/wsj/dict/cmudict.0.6d: ABACK AH B AE K ABACO AE B AH K OW ABACUS AE B AH K AH S PINTREST P IH N T R EH S T Then add the word to the grammar sphinx4/src/apps/edu/cmu/sphinx/demo/helloworld/hello.gram: #JSGF V1.0; grammar hello; public = (Good morning | Hello) ( Bhiksha |

CMUSphinx live speech recognition too slow?

淺唱寂寞╮ 提交于 2019-12-05 18:56:07
CMU Sphinix is toooo Slow for recognizing live speech.I don't know if you have any idea for boost it? This is my configuration: configuration.setAcousticModelPath("WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz"); configuration.setDictionaryPath("cmudict.0.6d"); configuration.setLanguageModelPath("en-us.lm.dmp"); We are currently working on speedup, but for now sphinx4 is not realtime for large vocabulary. It's actually not a trivial task. If you want a fast and not very accurate transcription you can edit default.config.xml in sphinx4 sources and recompile: <property name="absoluteBeamWidth" value=

How to Reduce Noise in Sphinx4 application

╄→尐↘猪︶ㄣ 提交于 2019-12-04 06:00:50
问题 I am new to sphinx4 and speech recognition thing. I am creating a speech application by using sphinx4. The issue is noise, which results in recognition by program even without speech input by user ie it is converting speech to text even when there is no speech input by user, thus affecting accuracy. Main issue is how to implement noise reduction. This is because the system detects input even when I dont speak anything into the microphone. So I guess its because of noise. I checked online for

How to Reduce Noise in Sphinx4 application

痞子三分冷 提交于 2019-12-02 09:02:01
I am new to sphinx4 and speech recognition thing. I am creating a speech application by using sphinx4. The issue is noise, which results in recognition by program even without speech input by user ie it is converting speech to text even when there is no speech input by user, thus affecting accuracy. Main issue is how to implement noise reduction. This is because the system detects input even when I dont speak anything into the microphone. So I guess its because of noise. I checked online for noise reduction but there is hardly clear information about the same. Though there is some information

Can't access microphone while running Dialog demo in sphinx4 5prealpha

ぃ、小莉子 提交于 2019-12-01 03:47:01
I am trying to run the dialog demo of sphinx 4 pre aplha but it gives errors. I am creating a live speech application. I imported the project using maven and followed this guide on stack overflow: https://stackoverflow.com/a/25963020/2653162 The error says about issues regarding the 16 khz and channel being mono. So clearly its about the sampling stuff. And is also says about microphone. I looked on how change the microphone settings to 16 khz and 16 bit but there is no such option in windows 7 : The thing is that the HelloWorld and dialog demo worked fine in sphinx4 1.06 beta but after I

Can't access microphone while running Dialog demo in sphinx4 5prealpha

孤街浪徒 提交于 2019-12-01 00:30:02
问题 I am trying to run the dialog demo of sphinx 4 pre aplha but it gives errors. I am creating a live speech application. I imported the project using maven and followed this guide on stack overflow: https://stackoverflow.com/a/25963020/2653162 The error says about issues regarding the 16 khz and channel being mono. So clearly its about the sampling stuff. And is also says about microphone. I looked on how change the microphone settings to 16 khz and 16 bit but there is no such option in windows

Keyword or keyphrase spotting with Sphinx4

廉价感情. 提交于 2019-11-30 23:53:29
I am currently trying to make my java code (using eclipse) perform some function if a certain thing is said. I am using the Sphinx4 libraries and this is what I currently have: What I would like it to do is at the line where it says: IF (TRUE) someFunction(); is to run the function if my speech is Hello Computer, Hello Jarvis, Good Morning Computer, or Good Morning Jarvis. Or in other words, run the function if the speech matches the "public < greet >" line of code in the .gram file. Even more specific, return "greet" if my speech corresponds with that grammar rule. I am sorry if this doesnt

Speech recognition response is poor in sphinx4

为君一笑 提交于 2019-11-30 07:43:55
Currently we are investigating into using sphinx4 for speech recognition. We are trying to achieve a good response for a dictation type application. The input is a wav file and we wish to transcribe it. I have looked into the LatticeDemo and Transcriber demo provided by Sphinx4. When i utilize the same configuration , the response is pretty poor. I have tried to tweak in the configuration files but it simply does not recognize the words. the transcriber demo provided is for digits, i have modified the config file to understand words. But i am not sure if i am missing something. I have attached

Property exception component:'wsjLoader'

一个人想着一个人 提交于 2019-11-28 06:19:07
问题 In recent days I have been reading alot about modifying the HelloWorld demo file & adding new words in it of our own choice. But I am encountering a serious problem which I am unable to counter. I am listing down my steps & then the error program is giving me. Any help is much appreciated! First I extracted the WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz jar file. And then I added some new words & their pronounciations in cmudict.0.6d file. After I saved it & compressed it back to jar file using a