saurabhvyas / WER-in-python

This program calculates the word error rate of hypothesis in ASR and print the aligned result.

Repository from Github https://github.comsaurabhvyas/WER-in-pythonRepository from Github https://github.comsaurabhvyas/WER-in-python

#WER calculation in python

This file is written in python2.

  • Module needed:
    • numpy
  • Usage:
    python wer.py reference.txt hypothesis.txt
  • Example: result

About

This program calculates the word error rate of hypothesis in ASR and print the aligned result.


Languages

Language:Python 100.0%