6

Can anyone share some code snippet used to convert Speech to text in Java.

TheHat
  • 424
  • 3
  • 6
  • 12

4 Answers4

4

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
  • 14,804
  • 42
  • 102
  • 158
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
  • 961
  • 1
  • 9
  • 16
-2

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.

-4

Check out this question.

Java: Text to Speech engines overview

Community
  • 1
  • 1
Jimmy Collins
  • 3,300
  • 5
  • 37
  • 57