Update README.md
Browse files
README.md
CHANGED
|
@@ -1,36 +1,47 @@
|
|
| 1 |
---
|
| 2 |
title: WER
|
| 3 |
-
emoji: 🤗
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: red
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
tags:
|
| 11 |
- evaluate
|
| 12 |
- metric
|
| 13 |
description: >-
|
| 14 |
-
Word error rate (WER) is a common metric of the performance of an automatic
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
Word error rate can then be computed as:
|
| 21 |
-
|
| 22 |
WER = (S + D + I) / N = (S + D + I) / (S + D + C)
|
| 23 |
-
|
| 24 |
where
|
| 25 |
-
|
| 26 |
-
S is the number of substitutions,
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
performance of the ASR system with a WER of 0 being a perfect score.
|
| 34 |
---
|
| 35 |
|
| 36 |
# Metric Card for WER
|
|
@@ -155,4 +166,4 @@ title = {From WER and RIL to MER and WIL: improved evaluation measures for conne
|
|
| 155 |
## Further References
|
| 156 |
|
| 157 |
- [Word Error Rate -- Wikipedia](https://en.wikipedia.org/wiki/Word_error_rate)
|
| 158 |
-
- [Hugging Face Tasks -- Automatic Speech Recognition](https://huggingface.co/tasks/automatic-speech-recognition)
|
|
|
|
| 1 |
---
|
| 2 |
title: WER
|
| 3 |
+
emoji: 🤗
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: red
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 6.5.1
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
tags:
|
| 11 |
- evaluate
|
| 12 |
- metric
|
| 13 |
description: >-
|
| 14 |
+
Word error rate (WER) is a common metric of the performance of an automatic
|
| 15 |
+
speech recognition system.
|
| 16 |
+
|
| 17 |
+
The general difficulty of measuring performance lies in the fact that the
|
| 18 |
+
recognized word sequence can have a different length from the reference word
|
| 19 |
+
sequence (supposedly the correct one). The WER is derived from the Levenshtein
|
| 20 |
+
distance, working at the word level instead of the phoneme level. The WER is a
|
| 21 |
+
valuable tool for comparing different systems as well as for evaluating
|
| 22 |
+
improvements within one system. This kind of measurement, however, provides no
|
| 23 |
+
details on the nature of translation errors and further work is therefore
|
| 24 |
+
required to identify the main source(s) of error and to focus any research
|
| 25 |
+
effort.
|
| 26 |
+
|
| 27 |
+
This problem is solved by first aligning the recognized word sequence with the
|
| 28 |
+
reference (spoken) word sequence using dynamic string alignment. Examination
|
| 29 |
+
of this issue is seen through a theory called the power law that states the
|
| 30 |
+
correlation between perplexity and word error rate.
|
| 31 |
+
|
| 32 |
Word error rate can then be computed as:
|
| 33 |
+
|
| 34 |
WER = (S + D + I) / N = (S + D + I) / (S + D + C)
|
| 35 |
+
|
| 36 |
where
|
| 37 |
+
|
| 38 |
+
S is the number of substitutions, D is the number of deletions, I is the
|
| 39 |
+
number of insertions, C is the number of correct words, N is the number of
|
| 40 |
+
words in the reference (N=S+D+C).
|
| 41 |
+
|
| 42 |
+
This value indicates the average number of errors per reference word. The
|
| 43 |
+
lower the value, the better the performance of the ASR system with a WER of 0
|
| 44 |
+
being a perfect score.
|
|
|
|
| 45 |
---
|
| 46 |
|
| 47 |
# Metric Card for WER
|
|
|
|
| 166 |
## Further References
|
| 167 |
|
| 168 |
- [Word Error Rate -- Wikipedia](https://en.wikipedia.org/wiki/Word_error_rate)
|
| 169 |
+
- [Hugging Face Tasks -- Automatic Speech Recognition](https://huggingface.co/tasks/automatic-speech-recognition)
|