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
1 answer

How to compile and run HelloWorld.java example from Sphinx4 without and IDE in Linux?

I have been testing the examples (HelloWorld.java) from Sphinx4 with Eclipse, but I would like to compile and run them from the command line. The application needs 5 .jars to be able to run, I have read that in order to compile a java class with…
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
0 answers

Sphinx 4 Demo and awt.Robot thread conflict

I have an issue with the Sphinx demo Code. When I want to instantiate a Robot object, the program does nothing on the instantiation line, and doesn't continue the code. But the program is still running. ConfigurationManager cm; cm = new…
Juxo
  • 1
  • 3
0
votes
1 answer

Sphinx-4 with HTK model recognition performance

I have built an online handwriting recognition system using Sphinx-4 and HTK model together. When I use HTK's own decoding system recognition rate is 89%. However Sphinx-4 system with the same HTK model achieves slightly more than 50%. Is this…
efb
  • 23
  • 4
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

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…
0
votes
1 answer

sphinx-4 NullPointerException at startRecognition

I'm trying to follow this tutorial, and it crashes upon startup after having lots of problems with the dictionary and models, such as. The dictionary is missing a phonetic transcription for the word 'humphrey' and Dec 18, 2014 1:14:50 PM…
user773737
0
votes
1 answer

Do I need to train models for CMUSphinx for Indian English

I am making a speech based web browser. I need it to recognize words from a list of about 50 isolated English words spoken in Indian accent. Should I use the acoustic model or the language model to train it? The words would be like,…
Prashant
  • 3
  • 2
0
votes
0 answers

how to activate noise cancellation in sphinx4?

There is a denoise.java file in sphinx4/src/sphinx4/edu/cmu/sphinx/frontend/denoise This file is not included in the frontend. So how should i activate this denoise.java so that noise cancellation gets activated in sphinx4.
soumya yelamali
  • 144
  • 1
  • 11
0
votes
1 answer

How to add custom grammar in Sphinx4 for speech recognition in Java?

I am using sphinx4 1.0 beta 6 to make a voice recognizer in Java. In sphinx4 there is demo sample called HelloWorld. That demo runs well without any problem. But it recognize only few words. I have to change its hello.gram file. If I add some extra…
Tushar Monirul
  • 4,944
  • 9
  • 39
  • 49
0
votes
0 answers

assertionError in Lattice

I've been struggling with Sphinx for a while now and all of the sudden I keep getting this assertion error, which reads as follows: Exception in thread "main" java.lang.AssertionError at edu.cmu.sphinx.result.Lattice.(Lattice.java:170) at…
Ryan Faulhaber
  • 76
  • 1
  • 3
  • 7
0
votes
1 answer

CMU Sphinx4: Recognizing yes/no in spanish

We're trying to get CMU Sphinx4 to recognize only between the words yes and no in spanish (si and no). We've implented Sphinx4 with the spanish model es_cont_2000 from voxforge. We've created the language model (attached below), and when recognizing…
jblaya
  • 5
  • 2
0
votes
1 answer

Hindi speech to text using sphinx4 in java

I am using Sphinx4 to convert speech to text, it works fine for English, but how can I use it for Hindi speech. For example i said "Mera name amit hai". After converting to text the output should be "मेरा नाम अमित है"
Amit
  • 55
  • 2
  • 8
0
votes
0 answers

Sphinx4 stay blocked at Recognizer.reconize()

I finally succeed to make my program using Sphinx4 compiling with a xml configuration file. My probleme is, when i execute it, the excecution stay blocked on the recognizer.recognize() method when i talk, and nothing happened. I think my problem…
0
votes
1 answer

Using cmusphinx for text alignment in practice, how do I improve the recognition success rate?

I'm using cmusphinx for text alignment. I downloaded the latest sphinx4, build a text aligner by modifying one of the demo using the WSJ acoustic models and dictionaries that comes along with the code. It does work occacionally but for lots of quite…
tactoth
  • 897
  • 1
  • 12
  • 24