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

pocketsphinx python give wrong timestamp

I am using pocketsphinx to convert audio into text. It works fine. Now I want to get timestamp of each word. This is my code: import speech_recognition as sr r = sr.Recognizer() framerate = 100 with sr.AudioFile("1.wav") as source: audio =…
Kelvin Tan
  • 982
  • 1
  • 12
  • 33
2
votes
0 answers

How to use a keyword list on pocketsphinx

I am building a program with python and pocketsphinx in order to control a Drone with my voice. I have this dictionary: DOWN D AW N GO G OW LEFT L EH F T RIGHT R AY T TURN T ER N UP AH P If i say a word which is in this dictionary everything…
P_Ferreira
  • 363
  • 1
  • 4
  • 21
2
votes
1 answer

Finding time of testing data in Sphinx train.

I am training data via pocketsphinx and sphinxtrain. We can see our training data time in log file. like my current training data is shown as Phase 5: Determine amount of training data, see if n_tied_states seems reasonable. Estimated Total Hours…
Adnan Ali
  • 2,851
  • 5
  • 22
  • 39
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

use android pocketsphinx while recording audio

i want to use pocketsphinx in my app while recording audio in the background (unrelated to the speech recognition - as part of a video recording). while trying to do so i constantly get the exception: ErrorFailed to start recording. Microphone…
user2928842
  • 93
  • 1
  • 1
  • 9
2
votes
2 answers

failed to init recognizer java.io.FileNotFoundException sync/assets.lst - pocketsphinx

I want to use pocketsphinx. when I run my model I got this error : failed to init recognizer java.io.FileNotFoundException sync/assets.lst but inside my asset there isn't this file (assets.lst): I don't understand this section of article…
S.M_Emamian
  • 17,005
  • 37
  • 135
  • 254
2
votes
1 answer

Pocketsphinx decoder initialization returns -1

I use the raspberry pi with pocketsphinx python and I found an example here. From that script I use the same path as described in the script. When I try to run this script it give me an error: ERROR: "acmod.c", line 83: Folder…
input
  • 31
  • 5
2
votes
1 answer

Can you use the same decoder in Pocketsphinx for multiple files?

Is it possible to use the same decoder for multiple wav files in Pocketsphinx (Python)? I have the following code snippet, which is very standard, except that I call the decoder twice on the same file. The outputs are not the same, however. I've…
2
votes
1 answer

Cmusphinx Spanish model incoherent transcription

I have installed pocketsphinx in my laptop (Linux Mint 17) aiming to transcribe a WAV audio file to text. The audios are in Spanish, so I've downloaded the Voxforge 0.2 Spanish model from its website and copy-pasted-adapted the following…
cabreracanal
  • 924
  • 1
  • 14
  • 36
2
votes
0 answers

Pocketsphinx initialization fails

I want to program a VoiceRecognition with Pocketsphinx and start it with Eclipse. At first I built pocketsphinx and sphinxbase and I was able to start pocketsphinx_continuous.exe with cmd. Now I have some Problems with the c-source, to start the…
PP600
  • 33
  • 5
2
votes
1 answer

Keyword spotting is not activated in pocketsphinx_continuous

I tried to adapt CMU Sphinx to my accen using the guide. I'm unable to do keyword spotting with the this model with this command - pocketsphinx_continuous \ -hmm /Desktop/cmusphinx/pocketsphinx-5prealpha/model/en-us-adapt/en-us-adapt/ \ -lm…
TheComeOnMan
  • 12,535
  • 8
  • 39
  • 54
2
votes
2 answers

Low accuracy for pocketsphinx for Indian English

I installed Pocketsphinx on Debian machine from official repositories. I tried to train default acoustic model with my voice (Indian english). Results are highly inaccurate. Can you please suggest what should be done to improve its accuracy? Is…
2
votes
1 answer

FATAL_ERROR when running 'pocketsphinx_continuous' on WAV file

I meet a error code such as below FATAL_ERROR: "acmod.c", line 409: Decoder can not process more than 32767 frames at once, requested 32768 The same problem was appeared and…
JonghoKim
  • 1,965
  • 7
  • 21
  • 44
2
votes
2 answers

Pocketsphinx install does not contain acoustic model definition mdef

I have tried to install pocketsphinx 5 prealpha on windows. But it seems to be stuck in this error below. INFO: feat.c(715): Initializing feature stream to type: '1s_c_d_dd', ceplen=13, CMN='current', VARNORM='no', AGC='none' INFO: cmn.c(143):…
Lupint
  • 41
  • 1
  • 8
2
votes
1 answer

PocketSphinx for Windows desktop in Java

I downloaded the library files (.dll) to make PocketSphinx work for Windows desktop. From the command prompt it is working. I want to use these dlls in a Java application so that I can create a .jar and use it as a whole.