WER Demo

This lesson contains a demo for WER.

Using simple_wer_v2.py

Included in the lesson terminal is a directory, wer, which contains 3 files:

  • simple_wer_v2.py
  • human_transcription.txt
  • speech_to_text_transcription.txt

The syntax for the program is:

simple_wer_v2.py hypothesis reference

The program compares the hypothesis, which in this case is the output from the speech API captured in speech_to_text_transcription.txt, and the reference, which is in human_transcription.txt ...