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
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 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
2
votes
1 answer

Pocketsphinx on Android - VoiceCommands to activate voice recording

I have been searching for a tool that would allow me to do voice commands in order to start a recording and to stop it. For that i would only need three commands(?): initialization command(not sure), start command and stop command. With that in mind…
2
votes
0 answers

How to get the out put text from pocket sphinx android

I'm working on android project and i needed an offline Speech to Text API, and i choose Pocket sphinx android. What i want sphinx to do is to return the converted text output not to check the input text(which should be passed to the SpeechRecognizer…
2
votes
1 answer

.What to use for Improving speech-to-text recognition accuracy using pocketsphinx?

I am totally new to using pocketsphinx, I have followed the integration of demo application as mentioned in Android offline voice recognition using PocketSphinx It's working fine after integration of pocketsphinx as library in my application, but…
Sai
  • 23
  • 5
2
votes
0 answers

Setting up PocketSphinx library in my own Android App

I am trying to implement Speech Recognition with the help of Pocket Sphinx Library. What my approach was, I just downloaded their demo project for Android. Imported it in Eclipse, did clean-build and run it on device. It ran successfully. After this…
user995009
2
votes
2 answers

PocketSphinx android displaying results even without me speaking

I am using pocketsphinx on android for spotting a keyword, but it doesn't recognize any other keyword than the required one. Moreover it doesn't even wait for me to speak and displays the keyword in the logcat. Here is my code: public class…
2
votes
2 answers

Give a file as input to Pocketsphinx on Android

I am using the latest pocketsphinx android demo (mighty computer),which takes input from microphone. I want to give a wav file as input to the same. I tried using decoder.processrow() function. But I don't know how to configure the decoder using…
2
votes
1 answer

Null pointer exception switching to search in Pocketsphinx Demo

I want to develop an speech recognizer in android. I've used this thread and this video to use speech recognition in android device. Here is my code : MainActivity.java: package com.example.pocket_sphinx; import…
2
votes
1 answer

Converting HTK model to Pocketsphinx

I have a working model built with HTK for online handwriting recognition. Now I want to build another recognition system for Android. After some research I found out that PocketSphinx has a version running on Android OS. Now, what I think of is to…
2
votes
1 answer

Language model/set does not contain

I am developing an ASR using PocketSphinx and I have followed every step on this page. When I run pocketsphinx_continousI get the following error: ERROR: "ngram_search.c", line 221: Language model/set does not contain , recognition will fail My…
coding4fun
  • 3,485
  • 1
  • 16
  • 28
2
votes
1 answer

Voice recognition while TTS

I am building an android app in which TTS (text to speech) is controlled by voice commands. For voice recognition, I am using pocketsphinx and it works fine when TTS is not active (the "start" command i.e.). However, the accuracy of recognition goes…
1
vote
0 answers

PocketSphinx is not listening

I would like to implement the library PocketSphinx in my Android project but I fail with it since nothing happens. It doesn't work and I don't get any errors. This is how I tried it: Added pocketsphinx-android-5prealpha-release.aar to…
xRay
  • 543
  • 1
  • 5
  • 29
1
vote
1 answer

PocketSphinx - getHypstr() returns empty for KeyphraseSearch after processRaw

Trying edu.cmu.sphinx.pocketsphinx with processRaw to detect a keyword. I have setup the SpeechRecognizer's decoder directly with getDecoder().setKeyphrase(KWS_SEARCH,KEYPHRASE); First calling decoder.startUtt(); then few calls to processRaw with…
1
vote
1 answer

PocketSphinx - How to understand when getHypstr() returns empty yet getInSpeech() returns True?

Trying edu.cmu.sphinx.pocketsphinx with processRaw to detect silence. Using the following config: en-us.lm.bin language model en-us-ptm acoustic model cmudict-en-us.dict dictionary also setting remove_noise to True and samprate to 8000 I want to do…