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

sphinx4 doesnt work in raspberry pi correctly(no microfon available)

I try sphinx4 in raspberry pi an i am getting "microphone is not available" message. Also pulseAudio VolumeControl program in raspberry show singal input from the USB pnp microphone. What's the problem? Thanks..
kamil51
  • 1
  • 4
-1
votes
1 answer

unable to convert mp3 files to text format only support .wav files in java

I have created an application but it is only support .wav files to convert audio to text. It is not showing any answers when giving .mp3 files .. I am using sphinx for to convert audio files to text. My question is that why it is not converting to…
Manu
  • 5
  • 4
-1
votes
1 answer

What will be the output of TranscriberDemo.java in Sphinx 4?

I am working on Sphinx 4, TranscriberDemo.java program. I have downloaded the alpha version from https://sourceforge.net/projects/cmusphinx/files/sphinx4/5prealpha/ and the following jar…
-1
votes
1 answer

Load language model only once

Every time I call recognizer.startRecognition(new FileInputStream(filePath)); it loads the language model and that takes a lot of time. How can I load the language model only once?
Diaso Dias
  • 19
  • 1
-1
votes
1 answer

I want to use my own gram file or hello world demo updated gram file in Sphinx4

Actually hello world demo example has a few words but I want to add more words in it. Its seems possible to do either two ways. 1. Update the hello.gram file 2. create my own gram file. But the issue is that I'm unable to do either way. Can you…
Umar Asghar
  • 3,808
  • 1
  • 36
  • 32
-1
votes
1 answer

Using Sphinx4: java.lang.IncompatibleClassChangeError

I am trying to build a program that will use basic voice recognition. I am encounter a issue while attempting to look up the "recognizer" component in the voice.config.xml file. I am relatively new to using Sphinx4 so it could be a very simple…
-1
votes
1 answer

Speech recognition issue

I want to create a speech recognition project in java and I try to use sphinx cmu. I use this code for recognition of speech but don't give me a good response. How I can fix this? import java.io.IOException; import java.net.URL; import…
Dorin
  • 2,167
  • 4
  • 20
  • 32
-1
votes
1 answer

WAV Audio recording for Sphinx-4 fail

I recorded a wav file using Audacity for testing transcriber demo from Sphinx-4, I followed the instruction in this post: Sphinx4 speech recognition trasncribe demo not working accurately for short wav file especially in this answer: It must be…
Evanescence
  • 729
  • 1
  • 10
  • 25
-1
votes
1 answer

Is this file qualified for Sphinx training

My WAV has some small buzzing sound at its beginning and end. Is this file qualified for Sphinx training? If yes, do I have to include some special character in the transcription file? Thank you and best regards.
Minh Triet
  • 1,190
  • 1
  • 15
  • 35
-1
votes
1 answer

WSJ jar from sphinx4-beta5 is incompatible with WSJ jar from sphinx4-beta6

I've installed Sphinxbase and sphinx4-1.0beta6 by following all the instructions of the official site. I opened the Sphinx4 folder as a Netbeans project and I built it succesfully, but when running the HelloWorld example I got the error…
JMFS
  • 297
  • 1
  • 4
  • 11
-1
votes
1 answer

Unguided speech to text conversion

I am trying to come up with a way to convert speech to text. I am trying to use Sphinx to attain this. What I mean by unguided speech to text is that, the speaker is not bound to speak from a definite set of sentences. Rather he might speak any…
sasidhar
  • 7,523
  • 15
  • 49
  • 75
-2
votes
1 answer

How to get back recoded audio from sphinx4

Hi I am trying to get the audio file from sphinx4, is there any way to save audiofile to local? let see user say "OK sphinx tell me time " I need to save audio file witch contain "ok sphinx4 tell me time " syntax, so i can use this audio file for…
Hamza
  • 2,017
  • 1
  • 19
  • 40
-2
votes
1 answer

How to invoke button click without explicit click on that button

I am developing an application in JAVA that takes input as speech and performs actions. What I want to achieve is button click without explicitly clicking on that button. The idea is to take the speech input, use the result which is a String object,…
abc
  • 117
  • 2
  • 11
-2
votes
3 answers

How do I create a project file for Sphinx4 in Eclipse?

I downloaded Sphinx 4 beta version 3 from here but when I try to import into Eclipse it says there are no valid project files in it's folder How do I create a valid project file for this?
user13267
  • 6,871
  • 28
  • 80
  • 138
-3
votes
1 answer

Speech recognition using sphinx

Currently I am working on Speech recognition using Sphinx. I added my own grammar file and appended to dictionary too. But I am getting NullPointer Exception Error which is shown below Loading... Exception in thread "main"…
1 2 3
16
17