SIGN UP

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.

Add your comment

Please, enter valid email

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

Please complete this field.

Please complete this field.

Please complete this field.

Choose the solution

Please complete this field.

Please complete this field.