Questions tagged [pocketsphinx]

PocketSphinx is a lightweight version of the CMU Sphinx open source cross-platform speech recognition system, optimized for mobile and handheld devices.

459 questions
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

Sending data to PocketSphinx for Windows desktop in Java

Here is my thread function public void run() { recorder.start(); d.startUtt(); d.setRawdataSize(300000); byte[] b = new byte[4096]; // Skip the first buffer, usually zeroes recorder.read(b, 0,…
0
votes
1 answer

Run pocketsphinx_continuous with a keyphrase

I am trying to use a keyphrase with pocketsphinx, but it keeps throwing the error, ERROR: "kws_search.c", line 171: The word 'hey' is missing in the dictionary Even though it is 100% in the dictionary. It is a big part of the dictionary and it…
Mitchell Ingram
  • 686
  • 2
  • 11
  • 23
0
votes
2 answers

Streaming a file off a server

I am trying to stream the recorded audio from my raspberry pis to my desktop computer which handles pocketsphinx phenomenally. I can pipe the audio using arecord -D plughw:1,0 -r 16000 -f S16_LE | ssh -C user@192.168.86.101 sox - test.wav And…
Mitchell Ingram
  • 686
  • 2
  • 11
  • 23
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
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
2 answers

Sphinx4 5alpha recognizer.getResult() null point exception

I build new language model , acoustic model and dictionary. when I try to recognize wav file speech, I got Exception in thread "main" java.lang.NullPointerException at edu.cmu.sphinx.result.Lattice.getNodeID Here Is my code, try { …
0
votes
1 answer

Need to set up a GUI that shows output from Pocketsphinx on Raspberry Pi 2 using Python

I need to set up a GUI that simply shows the output of Pocketsphinx on Raspberry Pi. I have installed Pocketsphinx and can run it from command line, but am not quite clear on how to set up the GUI. I have been using Python 2.7, and have seen online…
0
votes
1 answer

Pocket sphnix does not recognize any word

I downloaded CMU SphinxBase (sphinxbase-5prealpha.tar.gz) and Pocket Sphinx (pocketsphinx-5prealpha.tar.gz)and installed all required packages (sudo apt-get libtool bison python-dev autotools swig) and ran through all the steps…
SC-SL
  • 377
  • 3
  • 19
0
votes
1 answer

How to convert cmudict-0.7b or cmudict-0.7b.dict in to FST format to use it with phonetisaurus?

I am looking for a simple procedure to generate FST (finite state transducer) from cmudict-0.7b or cmudict-0.7b.dict, which will be used with phonetisaurus. I tried following set of commands (phonetisaurus Aligner, Google NGramLibrary and…
g10dras
  • 399
  • 2
  • 11
0
votes
1 answer

pocketsphinx_continuous crashes at "reading HMM transition probablility matrices"

I compiled with visual studio community. The file that I originally wanted to test this on was over an hour long, so I tried it with a 3 second piece of audio, nevertheless, the same thing happened. Here are the command line arguments that I used:…
Alex
  • 316
  • 4
  • 12
0
votes
1 answer

PocketSphinx differences between key phrase and grammar

I'm analyzing the PocketSphinx demo and playing with it to understand better how it works. I don't understand the main difference between key phrase (in the demo "oh migthy computer") and grammar. I noticed in particular that: key phrase is more…
Hammeronthenet
  • 132
  • 2
  • 14
0
votes
1 answer

Can I modify PocketSphinx's keyword recognizer "refresh rate"?

I'm running PocketSphinx on Android (version 5prealpha). I'm using a file-defined keyword recognizer, specified by the following snippet (kwfile is the keyword definition file, and mRecognizer is an instance of…
Brad Kriel
  • 53
  • 8
0
votes
1 answer

How to build a language model from the phonetic transcription?

I constructed a language model for the language tamil using data from wikipedia dumps ,using the tool CMUCLMTK.Now , how do I generate the phoenetic transcription and replace them in the model.The wiki article…