Can anyone share some code snippet used to convert Speech to text in Java.
Asked
Active
Viewed 3.2k times
7
-
1hm....this is a major problem in science and many universities spend their research on this problem – Erhard Dinhobl Nov 27 '10 at 14:15
-
1Possible duplicate of [Java: Text to Speech engines overview](http://stackoverflow.com/questions/143390/java-text-to-speech-engines-overview) – Raidri Dec 14 '15 at 12:11
-
@Raidri your link is about how to convert a text to speech , right ? – Abderrahim Jan 09 '17 at 11:47
4 Answers
5
Speech Recognition is not a easy task There is a API Available by oracle.
The Java Speech API allows Java applications to incorporate speech technology into their user interfaces. It defines a cross-platform API to support command and control recognizers, dictation systems and speech synthesizers.
You can view the full documentation here

Sudantha
- 15,684
- 43
- 105
- 161
1
Sphinx API is very widely used for speech to text conversion. You can find a simple tutorial on how to do speech recognition using sphinx in http://preciselyconcise.com/apis_and_installations/sphinx.php

Sai Sunder
- 1,001
- 1
- 11
- 16
-3
It's much easier if you use python for the conversion. You can use python as an external service for your app to do the conversion.

debanga durlov saikia
- 161
- 1
- 3