Session Ready
Exercise

Transcribing phone call excerpts

In this exercise, we'll transcribe the audio files we converted to .wav format to text using transcribe_audio().

Since there's lots of them and there could be more, we'll build a function create_test_list() which takes a list of filenames of audio files as input and goes through each file transcribing the text.

create_test_list() uses our transcribe_audio() function we created earlier and returns a list of strings containing the transcribed text from each audio file.

pre_purchase_wav_files and post_purchase_wav_files are lists of audio snippet filenames.

Instructions 1/2
undefined XP
  • 1
  • 2
  • Use transcribe_audio() to transcribe the current file to text and add it to the text list.
  • Return the text list.