voicebase: Upload audio files to voicebase to get a transcription

[ api, bsd3, library, program ] [ Propose Tags ]

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


[Skip to Readme]
Versions 0.1.1.0, 0.1.1.1, 0.1.1.2, 0.1.1.3, 0.1.1.4, 0.2.0.0
Change log ChangeLog.md
Dependencies aeson, base (>=4.7 && <5), bytestring, filepath, HsOpenSSL, http-client, http-client-openssl, lens, lens-aeson, mime-types, mtl, optparse-applicative, roundtrip, roundtrip-aeson, text, voicebase, wreq [details]
License BSD-3-Clause
Copyright Daisee Pty Ltd
Author Jappie Klooster
Maintainer jappie.klooster@daisee.com
Category API
Home page https://bitbucket.org/daisee/voicebase
Uploaded by ChristianMarie at Thu Nov 1 04:00:48 UTC 2018
Distributions NixOS:0.2.0.0
Executables voicebase
Downloads 326 total (28 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2018-11-02 [all 3 reports]
Hackage Matrix CI

Modules

  • Voicebase
    • V2Beta
      • Voicebase.V2Beta.Client
      • Voicebase.V2Beta.Configuration

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for voicebase-0.2.0.0

[back to package description]

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