Questions tagged [sphinx4]

Sphinx-4 is a part of CMUSphinx Speech Recognition Toolkit. It's a flexible large and small vocabulary speech decoder written in Java and licensed under BSD license.

This tag is about Sphinx-4, a speech recognition decoder. Speech recognition is fastly growing domain and it's quite complex by its nature. The development of the speech recognition application requires understanding of the speech recognition specifics - a probabilistic nature of the results, the need for throughout testing, the specifics of the voice user interface design, the accuracy/speed balance.

The main concept you need to be aware about are acoustic model used to capture the sounds of the language, the language model used to capture the vocabulary and the dictionary which maps from words to sounds. The use of Sphinx-4 in your application is often straightforward but you need to be more careful than usually to get everything in place.

To learn more about CMUSphinx and Sphinx-4 visit CMUSphinx page

https://cmusphinx.github.io/wiki/

Read the tutorial

https://cmusphinx.github.io/wiki/tutorial/

255 questions
2
votes
0 answers

Java Sphinx Dynamically Set Grammar Rules

I am working on a project using the Sphinx library and I wanted to dynamically modify the grammar rules. For example, say I want to add the rule open (Safari|Firefox), but I wanted to add it only after something happens. I didn't think this was…
nrubin29
  • 1,522
  • 5
  • 25
  • 53
2
votes
0 answers

Sphinx4 - Allocation of search manager resources failed

I'm working on a project using sphinx4. I tried running the app helloworld but i keep getting the following error Exception in thread "main" java.lang.RuntimeException: Allocation of search manager resources failed at…
omarsafwany
  • 3,695
  • 8
  • 44
  • 75
2
votes
0 answers

Are MFCC files generated from MATLAB and SPhinx4 different?

I converted a .wav file into an .mfc file using MATLAb. I found two MATLAB codes to do the same.…
2
votes
1 answer

How to add words to sphinx?

How to add my words to sphinx using java? Iam a new learner for learning sphinx,I just know how to use it.I want to learn adding my words.anybody can help me.
Mary Johnson
  • 29
  • 1
  • 3
2
votes
1 answer

Is it possible in sphinx 4 to recognize all possible words

Though I was having some problems to make sphinx 4 work initially but now its working great. Since the grammar is finite whether it is JSGF or N-Gram, I am not able to make sphinx recognize every possible word or sentence. I want to build something…
utsav
  • 71
  • 1
  • 7
2
votes
1 answer

How to pass audio data directly to Sphinx4

I would like to use Sphinx4 for a part of my system. And, I have already tried the HelloWorld demo which uses the microphone directly. Also, I have seen examples about using audio files. So, my question is that is whether there is any other way to…
user2533493
  • 81
  • 2
  • 12
2
votes
1 answer

Sphinx 4: recognize wav with words pronounced with short pause

I am new to Sphinx 4 and trying to make simple digits recognition application. I have set of wavs with 3 digits pronounced with short pause (like one_five_nine.wav) for test. The problem is that recognition of file stops after first digit found, so…
2
votes
1 answer

Sphinx4 Phoneme Segmentation

I am developing a system where I need the Starting Frame, End Frame and Segmentation Score from each phoneme in a word or sentence. I've been using Sphinx-3 command: sphinx3_align, to get the following result (example): SFrm EFrm SegAScr…
2
votes
2 answers

Using Sphinx4.0 to build a speech recog. Android application

I have been creating a java application for speech recognition using Sphinx4 in eclipse IDE and it worked out good! But now, i have an idea of turning the project to work on android platform. The code came out well for the sphinx4 demo speech recog.…
2
votes
2 answers

How to integrate Sphinx 4 with Freeswitch, receive call audio and do some recognition

I have a working knowledge of setting IVR on Freeswitch. I have installed Sphinx 4 and it's working good for Speech captured from microphone. However I want to integrate FS with Sphinx 4. I read somewhere it says that it requires some MRCP server…
1
vote
3 answers

error in java sphinx program

Hi i am making a software in java in which i want to develop a speech software... I am running a "Hello" sphinx code in java. import edu.cmu.sphinx.frontend.util.Microphone; import edu.cmu.sphinx.recognizer.Recognizer; import…
PradeepBhati
  • 63
  • 1
  • 3
  • 11
1
vote
2 answers

Speech Recognition using CMU Shinx, JSAPI and Google Speech API

Speech recognition is one of the many features of my current project which will be most probably developed in J2EE (other languages are also welcomed if their choice is justified). Most of the links at google and on SO suggest the above mentioned…
Amit
  • 13,134
  • 17
  • 77
  • 148
1
vote
1 answer

Getting started with Speech Recognition and Sphinx

Sphinx seems to be only real option for Java speech recognition. Documentation is sparse and it requires a high-level of domain knowledge. I used their example of a starting program and it works for one file and not for another, extremely…
Peter Kronenberg
  • 878
  • 10
  • 32
1
vote
0 answers

CMUSphinx simplest keyword "wake word" example?

New to the whole sphinx4 world. Trying to get a "wake word" hello world app running off a raspberry pi 3 / Kotlin. I think this means pocketsphinx is out because it is only android... The wake word phrase is "Trick or Treat" The existing demo code…
Benjamin H
  • 5,164
  • 6
  • 34
  • 42
1
vote
0 answers

Sphinx4 StreamSpeechRecognizer In Real Time

I'm trying to record audio at a client, send it to a "server," and then use speech-to-text at the "server" with Sphinx4. My code: public class SoundModifier implements Runnable { private static final String ACOUSTIC_MODEL =…