cmusphinx

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

Problems trying to build PocketSphinxAndroidDemo using NDK

两盒软妹~` 提交于 2019-11-30 10:27:36
I am trying to compile PocketSphinxAndroidDemo, which provides an example implementation of the CMU pocketsphinx speech recognizer on Android. I first received an error similar to the discussion here . After executing ndk-build, I got this error: Gdbserver : [arm-linux-androideabi-4.4.3] libs/armeabi/gdbserver Gdbsetup : libs/armeabi/gdb.setup Compile thumb : pocketsphinx_jni <= pocketsphinx_wrap.c /home/nick/workspace/android/PocketSphinxDemo/jni/pocketsphinx_wrap.c:761:28: error: sphinxbase/err.h: No such file or directory /home/nick/workspace/android/PocketSphinxDemo/jni/pocketsphinx_wrap.c

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

Installing Pocketsphinx on Android

若如初见. 提交于 2019-11-29 15:40:34
问题 I have some questions on installing Pocketsphinx on and Android phone, and I haven't been able to find answers on CMUSphinx's support forum, IRC, existing StackOverflow posts, or intensive Googling. If anyone here has a minute and would be willing to help, I'd greatly appreciate it. First off, I'm confused as to whether I can even install Pocketsphinx on Android. I believe I need Java bins in order to run on Android, so I attempted to install Sphinx 4. To test the program, I made an empty

Problems trying to build PocketSphinxAndroidDemo using NDK

只愿长相守 提交于 2019-11-29 15:18:10
问题 I am trying to compile PocketSphinxAndroidDemo, which provides an example implementation of the CMU pocketsphinx speech recognizer on Android. I first received an error similar to the discussion here. After executing ndk-build, I got this error: Gdbserver : [arm-linux-androideabi-4.4.3] libs/armeabi/gdbserver Gdbsetup : libs/armeabi/gdb.setup Compile thumb : pocketsphinx_jni <= pocketsphinx_wrap.c /home/nick/workspace/android/PocketSphinxDemo/jni/pocketsphinx_wrap.c:761:28: error: sphinxbase

Speech to text conversion for non-english language

主宰稳场 提交于 2019-11-29 12:47:30
I am trying to implement naive speech to text conversion for non-english language. where user speaks in other language and text is also in the same language .Is that possible ? If yes can anyone help with the idea of how to implement it ? Any Help would be greatly appreciated.Thanks in advance. Nikolay Shmyrev It is unlikely any commercial speech recognition solution will support Sanskrit, so the only choice you have is to add support for Sanskrit into open source engine like CMUSphinx. This is pretty straightforward, you actually just need to follow the documentation and you can get to the

Android offline voice recognition with simple commands/vocabulary [closed]

点点圈 提交于 2019-11-29 04:54:06
I am looking for some library that would allow me to create an offline voice recognition inside my Android app. There will be simple vocabulary consisting of up to 15 short (one word) commands for my app. Response time is crucial in my case. Is there any viable offline option (free & paid)? I am aware of offline version of Sphinx but will it be the option with fastest response (again, I only need my app to recognize few commands not the whole speech-to-text functionality)? I've had success using PocketSphinx for this type of application. I'd suggest building the PocketSphinx Demo app, use the

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

doing actions after sound recognization in android

旧城冷巷雨未停 提交于 2019-11-28 02:29:09
please give me suggestion about this condition. is it possible in android that the device waits for special sound, and after it recognizes it, some actions happens. please tell me about your ideas.Thanks for your help! UPDATE i try pocket sphinx and do lots of searches about 'defining new keyword", but i can't do it. I use this code: public class PracticeActivity extends Activity implements RecognitionListener, edu.cmu.pocketsphinx.RecognitionListener { // private static final String KWS_SEARCH = "wakeup"; // private static final String KEYPHRASE = "listen"; //adjust this keyphrase! //3-

Android offline voice recognition with simple commands/vocabulary [closed]

元气小坏坏 提交于 2019-11-27 19:02:46
问题 I am looking for some library that would allow me to create an offline voice recognition inside my Android app. There will be simple vocabulary consisting of up to 15 short (one word) commands for my app. Response time is crucial in my case. Is there any viable offline option (free & paid)? I am aware of offline version of Sphinx but will it be the option with fastest response (again, I only need my app to recognize few commands not the whole speech-to-text functionality)? 回答1: I've had