7

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

TheHat
  • 434
  • 3
  • 6
  • 12

4 Answers4

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.

-6

Check out this question.

Java: Text to Speech engines overview

Community
  • 1
  • 1
Jimmy Collins
  • 3,294
  • 5
  • 39
  • 57