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
2 answers

How to use middle of AudioInputStream to record to file for x seconds, and continue stream?

I have a Java desktop program (Sphinx4) that continuously listens on a microphone for a keyword. I then want it to record to a file (WAVE, bigEndian) with the audio following the keyword and send it off to an external web api for processing. The…
steven
  • 508
  • 1
  • 8
  • 23
2
votes
1 answer

Sphinx 4 configuration VoxForge

I was able to walk through Sphinx4 tutorials, but now I need to integrate Voxforge with it and I can't find any tutorials or blogposts on that matter!
firas
  • 1,463
  • 4
  • 19
  • 42
2
votes
4 answers

Sphinx4 vs Pocketsphinx

What's the easiest way to run a program written in sphinx4 on pocketshpinx? I need something that can be used on various mobile platforms, like the iphone and android phones. I have already written demos in sphinx4 in Java, but now I need them to be…
user123
  • 21
  • 1
  • 3
2
votes
1 answer

Which Demo code in Sphinx 4 is more appropriate for Real time Speech to Text Conversion?

I am working on the Java Sphinx4 API to recognize my speech in real time,I have gone through all the demo available with the source file,But I couldn't identify which demo to work on. And How can I use transcribe demo to take input wav file real…
2
votes
3 answers

Directing JUL logging to SLF4J does not work

I am using a third party library (Sphinx) which uses java.util.logging. I have been trying several approaches to route its logs to slf4j. The logging library I wish to use is Log4j2, which is configured like this: Configuration: properties: …
Sergio
  • 8,532
  • 11
  • 52
  • 94
2
votes
1 answer

CMU Sphinx: how to add keywords in addition to existing vocabulary?

CMU Sphinx comes with a large vocabulary of English words. that is fine however I want to emphasize certain words which I will be using as commands. some of these words are not English words. how can I make sure that Sphinx can understand both my…
yeeeeee
  • 21
  • 3
2
votes
2 answers

Sphinx LineUnavailableException

Need help how to use Sphinx4 API correctly, i am read from this link : http://cmusphinx.sourceforge.net/wiki/tutorialsphinx4,but when i am run DialogDemo.java i am getting this error : Exception in thread "main" java.lang.IllegalStateException:…
syam houng
  • 307
  • 4
  • 14
2
votes
1 answer

CMU Sphinx 5prealpha (Voice recognition system) installation

I wanted to try sphinx's latest version, but didn't figure out how to install it. With the 4th version it was quite simple, I used the demo, like Hello World and attached the libraries (jsapi, sphinx4,TDIFITS, WSJ) to the project, as shown in this…
Aidos
  • 729
  • 7
  • 20
2
votes
0 answers

Multithread CMU Sphinx 4 Alignment

I am using CMU Sphinx 4 to align audio with a transcript. The process has to be automated, so I've tweaked the AlignerDemo exampled and compiled it into a .jar that I execute from terminal (Ubuntu 15.04, 8GB, i5 quad). Speed is critical, but when I…
joelg
  • 357
  • 2
  • 11
2
votes
1 answer

How to build sphinx 4 cmu

Recently I downloaded sphinx4. I opened the zip and there was shpinx4-master. It appears that my project requires streamspeechrecognizer. I searched and I found that in the sphinx4-master there is sphinx4-core which in there there is the…
Amit
  • 207
  • 1
  • 4
  • 11
2
votes
0 answers

Sphinx: SEVERE: couldn't find suitable target audio format

I'm using Sphinx's hello world jar file & have included the Sphinx4.jar & the WSJ_..._6800Hz.jar... Code looks like this: object App { def main(args: Array[String]): Unit = { edu.cmu.sphinx.demo.helloworld.HelloWorld.main(Array[String]()) …
goo
  • 2,230
  • 4
  • 32
  • 53
2
votes
1 answer

CMUsphinx support for other languages

currently I am using Sphinx4 in a java desktop application to just to match some speech/words against the xxx.gram file. I have not installed sphinx in my system rather I'm just using sphinx4.jar in my project's classpath. And its working fine till…
Abhi
  • 93
  • 2
  • 4
  • 14
2
votes
0 answers

error in importing sphinxbase and pocketsphinx in python 2.6.6

I am just installed Pocketsphinx and Sphinxbase and give all the related path accordingly:: export LD_LIBRARY_PATH=/usr/local/lib/ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ export PS_BASE=/usr/local export…
bunty
  • 234
  • 1
  • 2
  • 12
2
votes
1 answer

How to get the confidence of a Sphinx4 result hypothesis?

I'm using Sphinx4 as a word reconizer. I've made a little dictionnary and a little grammar for the few words that i want to reconize. The SpeechResult result.getHypothesis() method works fine when i say a word from my grammar but it always give me a…
2
votes
1 answer

CMU Sphinx Acoustic model training hangs

I am training an acoustic model with CMU sphinx. I have around 200 hours of speech data. When I run the training script (sphinxtrain run, initially 4 of my CPU cores was at 100% and my machine got hot so it was doing some calculations. However, now…
Mikrasya
  • 964
  • 12
  • 21
1 2
3
16 17