cmusphinx

Integration of Pocketsphinx Android with Phonegap app

若如初见. 提交于 2019-12-22 09:24:51
问题 I'm trying to integrate the Sphinx with my Phonegap app, and following the pocketsphinx-android-demo, but getting the RuntimeException when startup, here is the details: E/OADemo (15835): java.lang.RuntimeException: Decoder_setSearch returned -1 E/OADemo (15835): at edu.cmu.pocketsphinx.PocketSphinxJNI.Decoder_setSearch(Native Method) E/OADemo (15835): at edu.cmu.pocketsphinx.Decoder.setSearch(Unknown Source) E/OADemo (15835): at edu.cmu.pocketsphinx.SpeechRecognizer.startListening(Unknown

Convert audio files for CMU Sphinx 4 input

蹲街弑〆低调 提交于 2019-12-22 05:33:52
问题 I have a big batch of files I'd like to run recognition on using CMU Sphinx 4. Sphinx requires the following format: 16 khz 16 bit mono little-endian My files are something like 44100 khz, 32 bit stereo mp3 files. I tried using Tritonus, and then its updated version JavaZoom, to convert using code from bakuzen. However, AudioSystem.getAudioInputStream(File) throws an UnsupportedAudioFileException , and I haven't been able to figure out why, so I have moved on. Now I am trying ffmpeg. The

Input for Pocketsphinx on Android

允我心安 提交于 2019-12-21 05:53:28
问题 I make a demo for speech recognize to text. I have just built the demo Building Pocketsphinx On Android and it work well. But my problem is how to make input from an audio file, not from real time speaking. Any idea to solve it? Thanks. 回答1: You can use Pocketsphinx API to process any binary data, including binary data read from file. You only need to make sure that data is in the required format. Once you read the binary data into the buffer of type short[] you can process it using

Open-source tool for gender-recognition using voice [closed]

三世轮回 提交于 2019-12-21 02:50:52
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Good evening, I'm working on a project with Kinect and I need to perform a gender-recognition using the voice information caught by the microphone of the sensor. The recognition could also be text-based , i.e. the sentence said by the user could always be the same. I "just" need the binary answer male/female. I

Split hypothesis on individual keyphrases

拈花ヽ惹草 提交于 2019-12-20 05:42:23
问题 I use Pocketsphinx in my Android app. I have a relatively small set of commands to be recognized independently, so I ended up using a keyword search from a file that looks like this: one/1.0/ done/1.0/ recognition on/1e-10/ recognition off/1e-10/ The actual list is not in English so these keywords are chosen arbitrarily for the sake of the example. I realize that these thresholds may be somewhat less than optimal, and that short words are prone to mismatches. The problem arises in this method

Speech recognition response is poor in sphinx4

怎甘沉沦 提交于 2019-12-18 12:42:02
问题 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

Speech to text conversion for non-english language

两盒软妹~` 提交于 2019-12-18 07:24:13
问题 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. 回答1: 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

CMUSphinx PocketSphinx - Recognize all (or large amount) of words

坚强是说给别人听的谎言 提交于 2019-12-17 03:40:20
问题 Before I tried to used PocketSphinx for Android, I used Google's voice recognition API. I didn't need to set a search name or a dictionary file. It just recognized every word that was told. Now, In PocketSphinx, I need to do it. But I can only find how to set recognition for one word, Or to set dictionary (The ones available in the demo project have only few words) that the recognizer think these are the only words exist, Which means that if someone says something similar, The recognizer

How to run autogen.sh and swig on windows 7(SphinxPocket)

你说的曾经没有我的故事 提交于 2019-12-13 08:59:43
问题 I have been trying to build Pocketsphinx for my android application and I have some problems. autogen.sh , What program that would run autogen.sh? When I tried to install it in cmd, it prompt me to choose a program to run autogen.sh. Why is that? Build Pocketsphinx to Android -- I have run autogen.sh by using mingw, after i run it i "make" but it got a error: make[3]: *** [pio.lo] Error 1 make[3]: Leaving directory `/c/sphinx/sphinxbase/src/libsphinxbase/util` make[2]: *** [All-recursive]

CMU Sphinx Set Acoustic Model Path Error

徘徊边缘 提交于 2019-12-13 08:45:35
问题 Am trying to create a speech-to-text java program using CMU Sphinx 4. Have loaded jar files into project. But am receiving the error that a resource cannot be located. I have confirmed that the resource is present within the jar file. Sorry, I'm completely new to CMU sphinx and totally out of my depth... This is the code: import edu.cmu.sphinx.api.Configuration; import edu.cmu.sphinx.api.LiveSpeechRecognizer; import edu.cmu.sphinx.api.SpeechResult; public class TranscriberDemo { public static