voicebase

Upload audio files to voicebase to get a transcription https://bitbucket.org/daisee/voicebase

Latest on Hackage:0.1.1.4

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by Jappie Klooster

Haskell bindings for voice base api

http://voicebase.readthedocs.io/en/v2-beta/

Usage

    import VoicebaseClient
    import Json.TranscriptTypes

    main = do
      result <- transcribeFile "your bearer token" "./audio.mp3"
      -- get validated response or error
      case result of
        Left err -> print $ err
        Right val -> putStrLn val

      -- get a parsed structure
      parsed <- transcribeParse "your bearer token" "./audio.mp3"
      case parsed of 
        Left err -> print $ err
        Right val -> print $ latestTranscriptsWordsTranscripts . transcriptsLatestTranscripts . mediaTranscripts . topLevelMedia val

There is also a main file which shows usage

Features

  • Post audio file to voicebase
  • Poll for progress
  • Get resulting transcript or valid json or an error.

Source

The source repo can be found here: https://bitbucket.org/daisee/voicebase

Changes

Changelog for voicebase

Unreleased changes

comments powered byDisqus