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

Android offline voice to text comparison

I'm trying to build an app to teach some basic english words. It needs to be able to capture audio and convert it to text, which I want to do offline. I know of pocketsphinx-android but my issue is that pocketsphinx tries to relate it with a word…
0
votes
1 answer

how to recognize only loud voice (words) with pocketsphinx on android

I am building android app which have to listen all the time (constantly) a voice and catch a key word like eg help. I am using now MediaRecorder to get an amplitude, then if is loud (eg 20000), I call pocketsphinx speechrecognizer. The problem is…
0
votes
0 answers

Converting audio file into text file using pocketsphinx

Good day ma'am/sirs! I'm new to android app developing, and I'm really in need of help. I'm developing a Speech-to-Text app though its not the usual STT apps that are available on app-stores. I'm using pocketsphinx for offline speech recognition and…
0
votes
1 answer

How do you import Pocketsphinx library in Android Studio 1.5?

I'm trying to import PocketSphinx into a project using Android Studio 1.5. This page details how to install and use the library. However I stumble at the following step: In Android Studio you need to place jar file in app/libs folder and jni .so…
0
votes
1 answer

How to deal with errors gracefully in PocketSphinx for Android?

I have made a program with PocketSphinx for Android, but there is one problem. Sometimes I have errors such as ERROR: "kws_search.c", line 164: The word 'sadfasdf' is missing in the dictionary". and then the whole program crashes. I know why the…
0
votes
2 answers

Exception when word is missing in the dictionary

I tried the demo app, it works fine but when I tried to integrate my own .jsgf grammar file it is giving error when I tried same thing using .lm file for the same dictionary it is working fine . I referred to PocketSphinx android demo runtime…
Sai
  • 23
  • 5
0
votes
0 answers

Android Speech recognition by pocketsphinx with full english dump

I need to convert speech to text using pocketsphinx with full english dump.So i can see the any result. I have follow many tutorial and tried to find the solution but didn't success till now. I have follow main demo of pocketsphinx.It show me…
0
votes
1 answer

how to make a speech recognition app using pocketsphinx in eclipse?

I need to develop a Speech Recognition app using PocketSphinx . Can you suggest me how to use PocketSphinx in Eclipse?
ramya br
  • 225
  • 2
  • 17
0
votes
2 answers

Use multiple dictionaries for cmu sphinx

For my project the default dictionary provided by the Sphinx is not sufficient. I need to use another custom dictionary along with the provided dictionary. Now my question is that is there any way of specifying multiple dictionary files to Sphinx or…
0
votes
1 answer

How to extract MFCC features in PocketSphinx on Android

I recently downloaded the PocketSphinx Android Demo for Android Studio. It worked on my Galaxy S5 and I'm actually surprised about the accuracy. However, I'm struggling to extract MFCC features for several reasons: There is an explanation how to…
Quantum
  • 190
  • 3
  • 16
0
votes
1 answer

New .gram file in pocketSphinx

Recognizing multiple keywords using PocketSphinx I have a working on project as mentioned above and I have listed new set of words in my digit.gram file. My doubt regarding this recognition is that I want to recognize a new ".gram" file instead of…
0
votes
0 answers

pocketsphinx fails with french

I'm using the following code to setup recognizer (should give you an idea of the sequence of init actions and model used): File modelsDir = new File(assetsDir, "models"); recognizer = defaultSetup() .setAcousticModel(new File(modelsDir,…
0
votes
2 answers

Android pocketsphinx & Fsg model

Context I am currently building an sdk/service on wich applications can access to voice based command, For the moment i'm using android pocketsphinx to detect a keyword (which is "wake"), and then analyse whole sentence with google voice…
CollioTV
  • 684
  • 3
  • 13
0
votes
1 answer

Acoustic Model number of hours

I want to create a model to recognize Arabic Letters. I know how to create the language model and the dictionary files, but I am stuck at the acoustic model. I record wav files for each letter, but during the training, it says that the training…
coding4fun
  • 3,485
  • 1
  • 16
  • 28
0
votes
1 answer

How could I only recognize certain phrases in CMU Sphinx?

I have a grammar like this: #JSGF V1.0; grammar actions; public = save this story | skip this story | stop the news; However, it recognizes everything that remotely matches these phrases. Is there a way for me to only recognize the phrase…
Ian Macalinao
  • 1,608
  • 3
  • 20
  • 30