Questions tagged [pocketsphinx-android]

PocketSphinx is a lightweight speech recognition engine, specifically tuned for handheld and mobile devices, though it works equally well on the desktop.

CMUSphinx is an open-source toolkit for speech recognition. Pocketsphinx is one of the decoders provided by CMUSphinx specifically targeted on mobile platforms like Android.

This tag is for questions related to problems running Pocketsphinx decoder on Android platform.

To get more information on pocketsphinx on android, see https://cmusphinx.github.io/wiki/tutorialandroid/.

108 questions
12
votes
1 answer

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

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…
user3184899
  • 2,909
  • 6
  • 25
  • 37
6
votes
2 answers

Offline voice recognition android taking unwanted voice

I have did a lot for research and tried offline pocket sphinx but it is taking surrounding voice it is taking and reacting my app differently. Is there any Google offline app for above kitkat 4.4.. i am trying it from 2 week. Thank for your valuable…
4
votes
1 answer

xamarin bind 'Jsgf' does not implement interface member 'IIterable.Iterator()

I am trying to implement the new version of PocketSphinx by this link i have created a new binding project and a have compilation errors. Error CS0738 'Jsgf' does not implement interface member 'IIterable.Iterator()'. 'Jsgf.Iterator()' cannot…
royi
  • 49
  • 1
  • 5
4
votes
3 answers

Long audio speech recognition on Android

I want to develop a module which will use a speech to text support in Android. I found out many documentation and demos related to RecognizerIntent and such others. But I found that all of such demos just fetch the voice till 10 secs or so. But I…
4
votes
1 answer

Pocketsphinx setKeywordThreshold() issue

I am thinking to use pocketsphinx offline speech recognition for my app but its documentation is not clear. If anybody can give answers of following question then it will really help me a lot. What is the role (use) of setKeywordThreshold(1e-5f)…
Kunal
  • 51
  • 3
3
votes
1 answer

cmusphinx in android-java.lang.RuntimeException: Decoder_setKeyphrase returned -1

I am using cmusphinx in android. First of all i executed demo project downloaded from Github. When i built my own dictionary created own keyPhrase it gives the following execption FATAL EXCEPTION: AsyncTask #1 Process: edu.cmu.sphinx.pocketsphinx,…
Mansuu....
  • 1,176
  • 13
  • 27
3
votes
2 answers

PocketSphinx for an Android dictation app

I'm trying to implement a "dictation" feature using the PocketSphinx on Android in conjunction with one of Keith Vertanen's language models. I've modified the sample to look like this: private void setupRecognizer(File assetsDir) throws…
3
votes
1 answer

Import grammar rules from string-based grammar

I'm using pocketsphinx in Android. And I've been able to import rules in one .gram file to another .gram file, and I've been able to use rules by specifying a String, but can't seem to be able to combine the two. That is, I can't import a file-based…
frozenkoi
  • 3,118
  • 19
  • 32
3
votes
1 answer

Calling Pocketsphinx in C# AccesViolationException

I'm trying to do the pocketsphinx tutorial in C# using pinvoke but get an AccessViolationException when I try to decode using ps_decode_raw(). IntPtr ps = PocketSphinx.ps_init(config); IntPtr fh = Win32Util.fopen(@"goforward.raw",…
3
votes
1 answer

Noise reduction before pocketsphinx reduces recognition accuracy

I am trying to improve the recognition accuracy of pocketsphinx in noisy environments. However the user might use the app in a variable environment. Hence training with noise is not something that I want to do. My question is , would noise reduction…
3
votes
1 answer

Keyword is not detected using pocketsphinx on android

Can anybody explain me how I can convert my speech to text using pocketsphinx? I try this: import com.example.speechtutor.SpeechRecognizerRecorder; import com.example.speechtutor.SpeechRecognizerRecorderSetup; import…
Manian Rezaee
  • 992
  • 10
  • 25
3
votes
0 answers

Integration of Pocketsphinx Android with Phonegap app

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…
Alsan
  • 333
  • 4
  • 12
2
votes
1 answer

Unknown CMN type 'batch' in pocketsphinx

I've read cmusphinx tutorial and ran successfully the pocketsphinx android demo. Now I want to modify the demo and add support for Italian. In the Italian model download page (here) I can see two files: cmusphinx-it-5.2.tar.gz: it contains model…
2
votes
1 answer

Pocketsphinx - perfecting hot-word detection

I've revisited CMU Sphinx recently and attempted to set up a basic hot-word detector for Android, starting from the tutorial and adapting the sample application. I'm having various issues, which I've been unable to resolve, despite delving deep…
2
votes
1 answer

Pocketsphinx android onEndOfSpeech() is called even if i am speaking

I am trying to recognize numbers in the app. when I am speaking numbers it calls onEndOfSpeech() method but I still have to speak the number. Sometimes it works fine and sometimes even if there is delay of 0.5 sec causes End of speech.
puneet
  • 21
  • 3
1
2 3 4 5 6 7 8