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

Null pointer exception on recognizer.allocate

I have a doubt in sphinx4-5 prealpha release. I'm not able to use class Recognizer, earlier in sphinx4 we were able to use like this: Recognizer recognizer = new Recognizer(); recognizer.allocate(); But the same piece of code in sphinx4-5 prealpha…
Sumitraj Patil
  • 107
  • 1
  • 1
  • 11
0
votes
1 answer

Making customized .dict file for sphinx-4

I am trying to make a Java application for live speech alphabet recognition by using Sphinx-4. I will only need the program to recognize a small number of words (i.e, the English alphabet). I have managed to get the program running using the…
Le Hoang Long
  • 428
  • 3
  • 10
0
votes
0 answers

sphinx4 5alpha master package gradle Build fail in netbeans 8.0

I downloaded the sphinx4-master from github. when I try to build it gives me a run time exception at LiveRecognizerTest.java:53. and build fail. here is my console output, Executing: gradle build Arguments: [-c, E:\project temp…
0
votes
2 answers

Sphinx4 5alpha recognizer.getResult() null point exception

I build new language model , acoustic model and dictionary. when I try to recognize wav file speech, I got Exception in thread "main" java.lang.NullPointerException at edu.cmu.sphinx.result.Lattice.getNodeID Here Is my code, try { …
0
votes
1 answer

Sphinx4 Live Voice Recognition Only Works Once

I've been trying all day to get the Java Sphinx4 API to recognize my speech in real time, and it does. But it only does it once, after the program is opened. After it gets that first input, the program just freezes at recognizer.recognize();, even…
TheBeocro
  • 121
  • 1
  • 1
  • 8
0
votes
0 answers

sphinx4 an4 acoustic model not working

I followed this tutorial using sample database an4 and tried to run TranscriberDemo(sphinx4-5prealpha) by using the acoustic model created using database mentioned above. But its not working I get errors. I set the paths as…
Thilini
  • 3
  • 3
0
votes
1 answer

Does sphinxtrain generate the MFC files?

I was wondering why the MFC files for the an4 database was up for downloading when in reality if you train your data in sphinxtrain, it says that it automatically generates the .MFC files. I tried running both the an4 .RAW version and the .SPH…
Allen Pol
  • 51
  • 1
  • 6
0
votes
1 answer

Decoding phone calls in ALAW format with sphinx4

We are planning to develop a system to convert speech obtained from phone calls to text using sphinx4. The format of such phone calls is Type: Audio Codec: PCM ALAW Channels: Mono Sample Rate: 8kHz BitRate: 8 bits per second In the tutorial it…
Thilini
  • 3
  • 3
0
votes
1 answer

How to disable noise cancellation in sphinx4-5prealpha?

I'm aware that static noise cancellation with spectral subtraction is enabled by default in latest version sphinx4-5prealpha, as was said in this topic: https://stackoverflow.com/a/29062128/5534684 But there is some way of disable this feature and…
0
votes
1 answer

Sphinx .InternalConfigurationException

Execuse me i need help how to use Sphinx4 API, i have create new maven project and i follow this link How to depend on this maven project to make pom.xml file here my pom.xml :
syam houng
  • 307
  • 4
  • 14
0
votes
1 answer

cmu sphinx4 java - Runtime exception caused by FileNotFoundException

I have recently made a Java project with Sphinx4. I found this code online, and I slimmed it down to this to test if Sphinx4 was working: public class App { private static final String ACOUSTIC_MODEL = …
M3579
  • 890
  • 2
  • 11
  • 22
0
votes
2 answers

cmu sphinx java - Executable example code

I recently installed CMU Sphinx4 to use for my Java application requiring speech recognition. However, most of the source code I could find online for Sphinx4 shows some error in Eclipse. I downloaded the JAR files (sphinx4-data..., sphinx4-core...)…
M3579
  • 890
  • 2
  • 11
  • 22
0
votes
1 answer

Decoding speed issue with CMU Sphinx 4

I have written the speech recognition application using CMU sphinx 4 and followed the details from this link. I have defined the Acoustic,Dictionary and Language Model as…
vijaym
  • 41
  • 8
0
votes
1 answer

Sample configuration/properties xml file for SphinxTrain for Sphinx4

I am using Sphinx4. I am trying to train accoustic model using SphinxTrain. I have audio samples and transcript file. As Trainer.java expects configuration file (containing filepath for audio samples and transcript files.) I found sample…
Keval
  • 1,857
  • 16
  • 26
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 |…