SIGN UP

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.

require(Modules.ASR);
// ... 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 arroy of words that transcriber will try to match in case of recognition problems. Specifying domain-specific words can improve transcription results a lot.

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

Answers(1)

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

Yes, transcription information is available via our HTTP API

Add your comment

Please complete this field.

Recommend

Get your free developer account or talk with our sales team to learn more about Voximplant solutions
SIGN UP