How to convert speech to text in java?
Can anyon开发者_如何学Goe share some code snippet used to convert Speech to text in Java.
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
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
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.
Check out this question.
Java: Text to Speech engines overview
精彩评论