speechmatics-0.4.0.0: Speechmatics api client

Safe HaskellNone
LanguageHaskell2010

Speechmatics.Client

Synopsis

Documentation

transcribeBytes :: Format -> String -> UserID -> AuthToken -> ModelName -> LazyByteFile -> IO (Either Error Value) Source #

Transcribe a file that is already loaded in memory Does not catch exeptions

transcribe :: Format -> String -> UserID -> AuthToken -> Options -> [Part] -> IO (Either Error Value) Source #

More general transcription interface, allows custom parts to be inserted with whatever the user wants. Does not catch exeptions

type AuthToken = Maybe Text Source #

Authorization token obtained from speechmatics

type UserID = Integer Source #

UserID obtained from speechmatics

type ModelName = String Source #

Which langauge model to use

data Error Source #

Instances

data Format Source #

Constructors

JsonV1 
JsonV2