Skip to content
This repository has been archived by the owner on Jun 21, 2018. It is now read-only.

SDK & Sample to do speech recognition using websockets in Java

License

Notifications You must be signed in to change notification settings

CatalystCode/SpeechToText-WebSockets-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

There is now an official Java SDK for the Bing Speech to Text API so this repository is deprecated.


A Java implementation of the Bing Speech to Text API websocket protocol (supporting article).

Travis CI status

Usage example

Run a demo via:

# set up all the requisite environment variables
export OXFORD_SPEECH_TOKEN="..."

# stream the audio and transcribe
sbt "runMain SpeechToTextWebsocketsDemo examples/data/batman.wav"
sbt "runMain SpeechToTextWebsocketsDemo examples/data/hall.mp3"
sbt "runMain SpeechToTextWebsocketsDemo http://bbcwssc.ic.llnwd.net/stream/bbcwssc_mp1_ws-einws en-US .mp3"

If you're consuming the library via Maven, make sure to also add the Tritonus (PCM audio conversion) jars to the classpath:

Release process

  1. Configure your credentials via the SONATYPE_USER and SONATYPE_PASSWORD environment variables.
  2. Update version.sbt
  3. Enter the SBT shell: sbt
  4. Run sonatypeOpen "enter staging description here"
  5. Run publishSigned
  6. Run sonatypeRelease

Other implementations

About

SDK & Sample to do speech recognition using websockets in Java

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published