cmusphinx

Creating ARPA language model file with 50,000 words

混江龙づ霸主 提交于 2019-12-02 17:18:44
I want to create an ARPA language model file with nearly 50,000 words. I can't generate the language model by passing my text file to the CMU Language Tool. Is any other link available where I can get a language model for these many words? I thought I'd answer this one since it has a few votes, although based on Christina's other questions I don't think this will be a usable answer for her since a 50,000-word language model almost certainly won't have an acceptable word error rate or recognition speed (or most likely even function for long) with in-app recognition systems for iOS that use this

Why am I missing the an4-1-1.match file in this speech recognition code?

我与影子孤独终老i 提交于 2019-12-02 12:27:00
I'm having problems in the decoding part of speech recognition. I followed the steps here . When I type: perl scripts_pl/decode/slave.pl , I get these errors: MODULE: DECODE Decoding using models previously trained Decoding 130 segments starting at 0 (part 1 of 1) Could not find executable for /home/go/Documents/tutorial/an4/bin/sphinx3_decode at /home/go/Documents/tutorial/an4/scripts_pl/decode/../lib/SphinxTrain/Util.pm line 299. Aligning results to find error rate Can't open /home/go/Documents/tutorial/an4/result/an4-1-1.match word_align.pl failed with error code 65280 at scripts_pl/decode

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

How to see if word exists in Pocketsphinx dictionary?

核能气质少年 提交于 2019-12-02 02:15:29
问题 I simply want to see if a string exists in a dictionary file. (Dictionary file at bottom of question) I want to check if the voice recognizer can recognize a word or not. For example, the recognizer will not be able to recognize a string of ahdfojakdlfafiop , because that is not defined in the dictionary. So, can I check if a word is in the dictionary of pocktsphinx? Something like: if(myString.existsInDictionary){ startListeningBecauseExists(); }else( //Doesn't exist in dictionary!!! } I

How to see if word exists in Pocketsphinx dictionary?

♀尐吖头ヾ 提交于 2019-12-02 00:54:26
I simply want to see if a string exists in a dictionary file. (Dictionary file at bottom of question) I want to check if the voice recognizer can recognize a word or not. For example, the recognizer will not be able to recognize a string of ahdfojakdlfafiop , because that is not defined in the dictionary. So, can I check if a word is in the dictionary of pocktsphinx? Something like: if(myString.existsInDictionary){ startListeningBecauseExists(); }else( //Doesn't exist in dictionary!!! } I just want a way to be able to tell if the recognizer can listen for what I want it to listen to. here is

Setting up Pocketsphinx for Python in Windows

人盡茶涼 提交于 2019-12-01 13:58:40
Can somebody help me in building pocketsphinx speech recognition in windows. I'm facing difficulty in understanding the instruction provided by sphinx in ths page . I want to develop a speech controlled computer automation application, and I'm using Python. I don't know how to install sphinx so that I can import it in the Python environment like this: import pocketsphinx as ps But can't make out anything from it. I was able to do it easily in Ubuntu using the sudo apt-get install sphinx* But, no luck with Windows. Any help would be appreciated. Windows Solution Christoph Gohlke kindly added a

Why does PocketSphinx Android demo require cygwin

人走茶凉 提交于 2019-12-01 11:16:49
I am trying to develop a speech recognition program in android and so far I have seen that themost popular option seems to be CMU sphinx, with pocketsphinx being used for android. From what I have understood the source code for CMU Sphinx has been provided in Java for running on a computer, so will not directly run on an android phone. So I will first have to compile the CMu sphinx code into a sort of library (something like creating a dll out a code I need to share if I was working in C), then build an interface in android and call the classes from cmusphinx. So fr I have found this post and

Why does PocketSphinx Android demo require cygwin

僤鯓⒐⒋嵵緔 提交于 2019-12-01 08:27:02
问题 I am trying to develop a speech recognition program in android and so far I have seen that themost popular option seems to be CMU sphinx, with pocketsphinx being used for android. From what I have understood the source code for CMU Sphinx has been provided in Java for running on a computer, so will not directly run on an android phone. So I will first have to compile the CMu sphinx code into a sort of library (something like creating a dll out a code I need to share if I was working in C),

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