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
3
votes
0 answers

Xamarin.Android Got a SIGSEGV while executing native code

Im currently creating my app while using Pocketsphinx with it. But lately there is this annoying "Error": I couln´t find anything about this particular one on the internet. Thanks in advance EDIT, I needed to put my code in: public void…
HknCore
  • 143
  • 15
3
votes
0 answers

android pocketsphinx not sending results or partial results

See code below. Pocketsphinx is configured with a keyphrase search to trigger on the word "record". Searching is then started, and talking causes onBeginningOfSpeech and onEndOfSpeech to be called, but no other listener methods get called,…
Jules
  • 14,841
  • 9
  • 83
  • 130
3
votes
2 answers

How can I do voice recognition for Turkish on cmusphinx?

I imported this project: https://github.com/cmusphinx/pocketsphinx-android-demo And it works fine on Android studio. But as you can see it on tutorial it has English voice recognition. How can I turn it to Turkish ? I searched a lot but I cant find…
CompEng
  • 7,161
  • 16
  • 68
  • 122
3
votes
1 answer

Pocketsphinx - perfecting hot-word detection

I've revisited CMU Sphinx recently and attempted to set up a basic hot-word detector for Android, starting from the tutorial and adapting the sample application. I'm having various issues, which I've been unable to resolve, despite delving deep…
3
votes
1 answer

pocketsphinx - how to switch from keyword spotting to grammar mode

I'm using pocketsphinx with raspberry pi for home automation. I've written a simple JSGF grammar file with the supported commands. Now, I want to use an activation phrase such as "hey computer" prior to the commands, to avoid false detections and…
jotadepicas
  • 2,389
  • 2
  • 26
  • 48
3
votes
1 answer

Error at ARPA model training with SRILM

I have followed this tutorial. After I run this code: ngram-count -kndiscount -interpolate -text train-text.txt -lm your.lm It gives me this error: "One of modified KneserNey discounts is negative error in discount estimator for order 2." How…
ziLk
  • 3,120
  • 21
  • 45
3
votes
1 answer

Installing pocketsphinx - pulseaudio development package

In the instructions for setting up pocketsphinx, one of the dependencies is pulseaudio development package. What exactly is this? Where should I download it?
Adam_G
  • 7,337
  • 20
  • 86
  • 148
3
votes
1 answer

Recognizing single characters into java using voice recognition

Is there any implementation in java to capture only characters? Will CMU Sphinx be able to do this? I've been trying with no luck at all. For a fact google speech API does a very poor job out of this. Characters like B,W,X are recognized but almost…
3
votes
1 answer

cmusphinx in android-java.lang.RuntimeException: Decoder_setKeyphrase returned -1

I am using cmusphinx in android. First of all i executed demo project downloaded from Github. When i built my own dictionary created own keyPhrase it gives the following execption FATAL EXCEPTION: AsyncTask #1 Process: edu.cmu.sphinx.pocketsphinx,…
Mansuu....
  • 1,206
  • 14
  • 27
3
votes
2 answers

Anyone have experience with Sphinx speech recognition?

Has anyone used the Sphinx speech recognition stack to build IVR applications? I am looking for open source alternatives to the expensive and somewhat limiting choices from MSFT and others. I have not been able to find a comprehensive package that…
Eric Z Beard
  • 37,669
  • 27
  • 100
  • 145
3
votes
1 answer

what is the correct import query for pocketsphinx ?

I cant use pocketsphinx api while compiling decoder_test.py: from pocketsphinx.pocketsphinx import * ImportError: No module named pocketsphinx I have installed pocketsphinx and sphinxbase correctly as mentioned in documentation import pocketsphinx…
Sudhin
  • 57
  • 7
3
votes
1 answer

gi._glib.GError: no element "pocketsphinx" error on running livedemo

I am using ubuntu 14.04 I am trying to get a python program to get speech to text from microphone. For this, I have installed sphinxbase and pocketsphinx. pocketsphinx_continuous works. thekindlyone@deepthought:.../lib$ pocketsphinx_continuous…
thekindlyone
  • 509
  • 1
  • 6
  • 21
3
votes
1 answer

How to retrieve the rule names of words using a jsgf grammar file with pocketsphinx in Python?

I am using pocketpshinx in python for speech recognition using a JSGF grammar file. The grammar is composed of rules, and speech is matched to those rules to be recognized. The recognition works well, but I can´t seem to find how to retrieve the…
Enaid
  • 305
  • 1
  • 18
3
votes
1 answer

The range of variation for each parameter for pocketsphinx_continuous app

I found that there are so many parameters to tune up speech recognition( for example input parameters in pocketsphinx_continuous app). Many parameters are enumerations, other are floating values. Where can I find the range of variation for each…
BrettWatts
  • 87
  • 9
3
votes
1 answer

How do I tell the difference between an 8Khz acoustic model and a 16Khz model?

I'm able to get a reasonable level of accuracy with 8khz audio files. Now I want to try a higher sample rate, if I can. Looking at the acoustic models available on this page, they list: en-us-8khz.tar.gz en-us-semi-full.tar.gz …
user773737