Questions tagged [cmusphinx]

An open-source toolkit for speech recognition. Includes speech recognizers Sphinx 2-4, PocketSphinx and a set of tools to supplement the recognizers.

CMU Sphinx is a group of speech recognition systems developed at Carnegie Mellon University.

Links:

682 questions
2
votes
1 answer

How to setup cmusphinx with lua?

So I wanted to go about designing an add-on for a game I play, World of Warcraft and the game uses Lua scripts. The add-on involves speech recognition. I found a library that apparently adds voice recognition functionality to Lua. Here is the link…
2
votes
1 answer

Cross compiling Sphinxbase and Pocketsphinx for ARM

I am trying to make Pocketsphinx work on an ARM based processor for hot-word detection. So I am cross-compiling Sphinxbase and Pocketsphinx for ARM on a Ubuntu PC. I am able to install Sphinxbase and Pocketsphinx on 64-bit Ubuntu PC and make…
2
votes
1 answer

Creating dictionary with g2p-seq2seq: ValueError: No JSON object could be decoded

I ran this command: g2p-seq2seq --interactive --model_dir g2p-seq2seq-cmudict But I got this error: :( /usr/lib64/python2.7/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to …
Marc
  • 253
  • 3
  • 10
2
votes
3 answers

PocketSphinx install can't find swig.exe

I have searched all over the web and especially have gone through all the questions regarding this here on Stackoverflow. I am using the following command to install it "pip install pocketsphinx" I have windows x64, I have not set any environmental…
John Smith
  • 851
  • 2
  • 10
  • 22
2
votes
0 answers

Finding variables in speech recognized text

I'm developing an application with speech recognition (Sphinx). From a config file I get all possible commands and build a JSGF grammar like this one: = ( Anna | Michael | somebody ); = Show me some information about ; This…
Big M
  • 37
  • 3
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

Performance measure to evaluate the forced alignment results

I have done speech to text alignment using sphinx aligner. Is there any performance measure to evaluate the results of alignment.
diwakar g
  • 99
  • 1
  • 2
  • 11
2
votes
1 answer

How to create phonetic language model for CMU Sphinx?

I need make phonetic recognition for russian. I followed tutorial from project page. In the tutorial I see You can take a text, convert it to a phonetic strings using the phonetic dictionary for your langauge. Just replace the words with their…
gado
  • 33
  • 1
  • 7
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

"backward.c", line 421: Failed to align audio to trancript

My script was doing speech recognition training fine, until recently I tried to scale up to train on more data, now it output this error. ERROR: "backward.c", line 421: Failed to align audio to trancript: final state of the search is not…
Andrew Au
  • 812
  • 7
  • 18
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

Decoder_setSearch returned -1 exception

I recently checked out PocketSphinx powered by CMUSphinx for Android found here: https://github.com/cmusphinx/pocketsphinx-android-demo. I've modified it a little bit to play around and see what I could do. public class PocketSphinxActivity extends…
Jeremy
  • 241
  • 4
  • 17
2
votes
0 answers

How to integrate CMU sphinx with Unity 3D engine?

I am working on a Vuforia Speech recognition project to control 3D objects through voice. After googling i found out that CMU SPHINX, a open source software is great for speech recognition. I have tried integrating it with unity, but didn't suceed.…
Kanagalingam
  • 2,096
  • 5
  • 23
  • 40
2
votes
0 answers

Reason of failing on first iteration of CMUSphinx Baum Welch training

I am trying to build a new acoustic model, I used a speech synthesizer to train it, the total estimate hours of training files is: 0.0389416666666667 , But I keep getting an error after Baum Welch training, this the error I'm getting: Sphinxtrain…
0x01Brain
  • 798
  • 2
  • 12
  • 28
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