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/.

109 questions
1
vote
1 answer

Phone 'MA' is mising in the acoustic model; word 'masoud' - pocketsphinx

my name is masoud. now I want to when I say masoud, my app print a console log. to do this I made a mdic.txt file and I put my name inside it : masoud MA S O D I changed mdic.txt to mdic.dict and put it at assets/sync direcotry . I made a cm.txt…
S.M_Emamian
  • 17,005
  • 37
  • 135
  • 254
1
vote
0 answers

How to use models for new language in pocketsphinx

I have compiled a language model ,dictionary and acoustic model etc all necessary to convert speech to text in my native language. so, when I use this command on the linux terminal pocketsphinx_continuous -hmm -lm
1
vote
1 answer

Pocketsphinx does not recognise Indian language words with accuracy

I am developing app for voice commands. I have used pocketsphinx demo. Also I have created dictionary using http://www.speech.cs.cmu.edu/tools/lextool.html but when I talk and it does not recognise correct word rather its gives another word. Below…
1
vote
1 answer

Pocketsphinx simply listening for one command

I have successfully created a speech to text app which is able to open activities based on recognising keywords. At the moment for me to start the Speech to text feature I need to click a button. I now do not want to manually press the button and…
1
vote
1 answer

Can't start pocketsphinx in Unity3d game

I am trying to integrate PocketSphinx into my Unity3d project. In order to do this, I have integrated the Android demo project into the Android Studio export of the Unity3d project. When trying to the app, I get an exception saying that the…
1
vote
1 answer

How to get voice amplitude from pocketsphinx

I am using pocketsphinx to recognize words in android application when someone speak. I want to implement functionality to return a max amplitude of a voice which pocketsphinx record. If i speak any word i need to get a sound level in return(Either…
user526206
1
vote
1 answer

How do I improve speech recognition on startup with PocketSphinx Android?

I'm using PocketSphinx on Android. After the recognizer initializes, I start a keyword listener. At first, the recognizer will not match anything. But, after a few seconds, the recognizer starts matching keywords with excellent performance (about a…
Brad Kriel
  • 53
  • 8
1
vote
1 answer

Android Continuous Speech Recognition using pocketsphinx. How to clear hypothesis?

I am Currently working on a project to implement offline continuous speech recognition using pocketsphinx. I have developed it to the point where it recognizes the keyword I say, however the hypothesis in onPartialResults() and onResults() is not…
1
vote
1 answer

Handling Errors in PocketSphinx Android app

I am using the default dictionary that comes with the pocketsphinx demo which is good for my purposes. When a user enters a phrase, the app starts a keyphrase listening but if the word is not found in the dictionary the app crashes. The app crashes…
1
vote
1 answer

android pocketshpinx "word %s missing in dictionary" errors

I'm trying to test some basic keyword recognition in a Fragment using this pocket sphinx android library. I've got the project jar set up and correctly added as a dependency, I've added the .so files to the jniLibs folder as instructed in this…
1
vote
2 answers

Is there something like a sleep mode in pocketsphinx android?

I'm building a sample project with Pocketsphinx4Android (the Android Studio version). I'm using an own language model and i have good results but it completly stops my ui if it receives no "speech input" for a while. Does anybody know if there's…
nukleos
  • 419
  • 2
  • 8
  • 19
1
vote
1 answer

Stop pocketsphinx recognizer for voice feedback

Still with the same project, this is a continuation from Run pocketSphinx and Google TTS together. I already do the revision according to the guide from Nikolay Shymyrev and do a lot of helping. But the final feature that I want implement still…
1
vote
2 answers

Run Pocketsphinx and Google TTS together

I want to start a new activity that recognizes speech from the beginning and could read incoming message right after the activity started. This code is the code that merged from default. It runs well in default condition. But I want to remove the…
1
vote
1 answer

Capture from camera on voice command

I'm developing an a simple voice controlled camera application. I'm using CMUsphinx library to enable voice recognition. There are two ways to capture in my application. one is when a button is clicked and one is over voice command.When button is…
1
vote
1 answer

PocketSphinx android demo runtime exception

I downloaded the source code of pocket sphinx demo. I'm trying to run it but it is throwing a runtime exception. I've posted the logcat of my code. 09-09 11:45:38.980: I/System.out(7912): Sending WAIT chunk 09-09 11:45:38.980:…