Speech-to-text: transcription

Speech-to-text: transcription

Transcription works just like Audio Recording with only difference that a text file is created alongside an audio file.

In order to use transcription, call a record method of the call object with transcribe parameter set to true and language parameter set to one of supported languages.

// ... some code ...
somecall.record({transcribe: true, language: ASRLanguage.ENGLISH_US});

Unlike audio and video recording, transcription results are available only after a call ends, so it should be retrieved via HTTP API. By default, each line in transcription file is prefixed "Left" for an audio stream from a call endpoint to Voximplant cloud, and "Right" for an audio stream from Voximplant cloud to a call endpoint (same logic as with left and right audio channel for stereo recording). "Left" and "Right" names can be changed via labels parameter. Dict parameter allows to specify an array of words that transcriber will try to match in case of recognition problems. Specifying domain-specific words can improve transcription results a lot.

B6A24216-9891-45D1-9D1D-E7359CEB8282 Created with sketchtool.


Aaron Kaneti
2018-07-26 13:21:54
Hi! I'm trying to access my transcriptions via the app I was creating. Is there a way for this? Thank you.

Yes, transcription information is available via our HTTP API

Add your comment

Please complete this field.


Sign up for a free Voximplant developer account or talk to our experts