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

Getting as result of voice recognition in sphinx4, java

I am trying to control my Arduino with voice using Java. I am using Sphinx4 for that... I have made own .gram file grammar servo; public = ; = ; = (turn | start |…
0
votes
1 answer

How to recognize a large amount of words using CMUSphinx

I've been trying to have Sphinx detect all words in its dictionary (around 130k) using a .gram file, but it processes for about 30 seconds, then I get this error: Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded at…
0
votes
1 answer

Error while Loading CMU sphinx in visual studio 2013

I am trying to load CMU sphinx in visual studio 2013 but getting some error. The steps which i followed was I downloaded sphinxbase-5prealpha and pocketsphinx-5prealpha and extracted to same folder. Then i complied all the projects from both…
0
votes
1 answer

Microphone settings on a Windows PC

What I need is that my audio input from microphone is: Mono 16bit 16000Hz. I am on a Windows 8.1 PC and i am aware that you can adjust it on the advanced settings of microphone. (Right click on speaker icon in task-bar -> Recording devices ->…
Fabian
  • 1
  • 1
0
votes
0 answers

Reusing a method to pass text string and voice input but getting NullExceptionPointer and can't figure it out

I'm running Spinx voice recognition as a thread and want to pass the result to a bot method mirroring the same method in Main to pass text. However keep running into NullPointerExpection and can't reason it out or overcome it. Why does it work in…
0
votes
1 answer

Missing "edu.cmu.sphinx.api" in my Sphinx 4 library

Please, sphinx4-1.0beta6 version of sphinx does not have edu.cmu.sphinx.api which contains essential classes like Configuration and SpeechResult needed for my speech recognition (live voice transcription) project. So the question is this, how do I…
Gold
  • 11
0
votes
1 answer

Pocketsphinx returns empty string for hypothesis

I'm using pocketshpinx for speech recognition in a custom C++ application. I noticed that sometimes the hypothesis string returned by the ps_get_hyp() method is an empty string. Question: Is this an expected behaviour? If so, is there a way to tell…
jithinpt
  • 1,204
  • 2
  • 16
  • 33
0
votes
0 answers

How to stop Sphinx Speech Recognition

I'm currently writing an application for Google Glass that recognizes certain words. I'm using pocket sphinx for android (http://cmusphinx.sourceforge.net/), and it runs okay on Glass, however, it doesn't open as a regular application but rather in…
Melissa
  • 1
  • 4
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

Python pocketsphinx 'module' object has no attribute 'Decoder'

I try to run simple example of using pocketsphinx. I have installed all libraries, plugins that was needed... Python 2.7.6. But still get an error: pocketsphinx 'module' object has no attribute 'Decoder' import sys,os import pocketsphinx as ps…
Arti
  • 7,356
  • 12
  • 57
  • 122
0
votes
1 answer

How to detect out of vocabulary word in CMU Sphinx

I am having a problem with the Sphinx voice recognition library for Java. I am using it to get input and handle it. In the grammar file , I wrote like this: #JSGF V1.0; grammar hello; public = (play | pause | next | previous); My…
0
votes
1 answer

How to Reduce Noise in Sphinx4 application

I am new to sphinx4 and speech recognition thing. I am creating a speech application by using sphinx4. The issue is noise, which results in recognition by program even without speech input by user ie it is converting speech to text even when there…
MANU
  • 1,358
  • 1
  • 16
  • 29
0
votes
1 answer

how to use cmusphinx for creating a database for new language

I need to develop an engine for punjabi language. i came across this link- http://cmusphinx.sourceforge.net/wiki/tutorial for tutorials of cmusphinx but it is not showing me anything. So can someone help me as how to use cmusphinx for this purpose…
0
votes
1 answer

MojoExecutionException while running Sphinx4 demo application

I am trying to implement a Sphinx4 demo application using Netbeans IDE 8.0.2 and jre8. It builds successfully. But when I try to run the project after setting edu.cmu.Sphinx4.demo.DemoRunner.java as the main class I get the following error. The…
0
votes
1 answer

CMU Sphinx4 Unable to build project

While trying to build Sphinx4 Core project I get errors/warnings 100 errors 100 warnings MavenReportException: Error while creating archive: Exit code: 1 - C:\Users\Shivam…