Voice recognition in java using freets - java

Is there any way to write a program of voice recognition in Java?
I understood that there are many technologies, and I found freetts which seems to be a comfortable one, though I succeeded to write a program of text-to-speech, but didn't find any reference of voice recognition with it.
Does anyone have references for me on that matter?
Thanks in advance

FreeTTS does not support speech recognition (as far as I know) - it is only implemented to support text-to-speech.
So you will need to use some other tool for speech recognition.
You can have a look at Sphinx which is a speech recognition tool written in Java which I had used for my university project.
Check this link to learn more about Sphinx
You will require some tweaking with Sphinx to suit you requirements - which is easier than creating your own speech recognition engine.
You can refer this video for a short tutorial on Sphinx.

Related

package introduction for using speech recognition in java

i want to create an application using inbuilt java package's which should support me in speech recognition
("Actually Thinking to develop app like in movie "her" which talks to human as and give response with AI")
There is no Java Platform package yet for speech recognition. However, there's at least one opsn-source project for speech recognition with a simple Java API ... http://voce.sourceforge.net/ (see also its dependencies).

Speech Recognition in Turkish

Hello I'm working on a project about controlling a robot with Turkish voice commands.
As I search on internet all I can find are Sphinx like speech recognition libraries but they don't support my language.
Is there any possible ways to form my own library for about 20 different commands?
Thanks.
Of course it's possible. The only thing you are missing is the Turkish acoustic model, which I am not sure if there are any free ones available. You can follow the great sphinxtrain tutorial to train one yourself (which is probably the biggest task in this project). You will then need to plug your commands into a grammar file (JSGF is supported as far as I remember). The accuracy should be rather good (99% should be the expectation).
It's an old question but for the reference, you can use Google Speech API in 110 languages
https://cloud.google.com/speech/
It works online, but there is an offline version for android

Java Speech API tutorials?

I'm looking to play around with the JSAPI, but I can't find any tutorials on how to do it. I know Sphinx 4 uses JSAPI and there are a few (pretty bad) tutorials for that. From preliminary research and playing around with Sphinx, it's a lot more than I need. I'm simply trying retrieve a spoken sentence and convert it to text. From there, I'll manipulate the string how I need to. Is this within the realm of JSAPI or do I need to use Sphinx? Anyone know of any good tutorials?
AFAIK there are no free fully implemented standalone JSAPI compliant speech recognizer. I am afraid you will have to use Sphinx.
Moreover, "retrieve a sentence" is not a simple task at all. There is actually a lot to do before you even start recognizing the sentence. Look at the guides for sphinx:
http://cmusphinx.sourceforge.net/wiki/
http://cmusphinx.sourceforge.net/sphinx4/doc/ProgrammersGuide.html

java voice command

I'm still pretty new to java and I was thinking about making a program where the computer could listen to you talking and write what you said on word or something using the java Robot. Honestly, I have no idea where to start with this and could really use some help on this. Also, I was looking around on my computer and noticed that it does have a voice engine of some sort, is there a way I could implement that into my program?
Thanks in advance
If you want to tap into your dictation software's facilities and hook them into your Java program, then start by taking a look at the JavaSpeech API or the Microsoft Speech API along with the Java Native Interface (JNI). The latter isn't a simple project for a beginner. The former, if your dictation software is compatible, could be something in the order of a few weeks of work for a relative beginner.
For making the dictated speech appear in Word or other external program, it's not clear to me where your Java program would fit in here: your dictation software will natively provide the facility of dictating to whatever the currently active window is, presumably.
Speech Recognition is a complex programming to understand. as you are a beginner go head and see Sphinx4 for recognition written entirely in java and FreeTTS as Synthesizer written entirely in java. first make a simpler recognizer then you can think of Dictation using JNI

What libraries are available for analyzing audio files for spoken keywords and/or speech to text?

I'm a super-hero in my off-time and I'm trying to build an application that analyzes audio for spoken keywords. (Think emergency/911 calls) If a keyword is "robbery", and that word is spoken within the audio provided I would like to flag that file and possibly translate it to text.
What development libraries or software applications are out there for doing this sort of thing? C++ or Java libraries are preferred but not required.
Wiki page here is a good starting point. Of the ones mentioned there I think CMU Sphinx is the most active one.
You could work with Praat http://www.fon.hum.uva.nl/praat/ , it's an excelent program for working with phonetics and it has it's own scripting language. You can also find a lot of scripts in the Praat community. You can also use sendpraat http://www.fon.hum.uva.nl/praat/sendpraat.html to work with the praat functions as a subroutine.

Categories