Skip to content

hjs-wcl/SpeechToText-WebSockets-Java

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 94.9%
  • Scala 5.1%