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

Latest commit

 

History

History
38 lines (26 loc) · 1.92 KB

README.md

File metadata and controls

38 lines (26 loc) · 1.92 KB

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