lvwerra HF staff commited on
Commit
8dfbd14
1 Parent(s): 0a485f3

Update Space (evaluate main: 05209ece)

Browse files
Files changed (1) hide show
  1. README.md +21 -0
README.md CHANGED
@@ -10,6 +10,27 @@ pinned: false
10
  tags:
11
  - evaluate
12
  - metric
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  ---
14
 
15
  # Metric Card for WER
 
10
  tags:
11
  - evaluate
12
  - metric
13
+ description: >-
14
+ Word error rate (WER) is a common metric of the performance of an automatic speech recognition system.
15
+
16
+ The general difficulty of measuring performance lies in the fact that the recognized word sequence can have a different length from the reference word sequence (supposedly the correct one). The WER is derived from the Levenshtein distance, working at the word level instead of the phoneme level. The WER is a valuable tool for comparing different systems as well as for evaluating improvements within one system. This kind of measurement, however, provides no details on the nature of translation errors and further work is therefore required to identify the main source(s) of error and to focus any research effort.
17
+
18
+ This problem is solved by first aligning the recognized word sequence with the reference (spoken) word sequence using dynamic string alignment. Examination of this issue is seen through a theory called the power law that states the correlation between perplexity and word error rate.
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
+ D is the number of deletions,
28
+ I is the number of insertions,
29
+ C is the number of correct words,
30
+ N is the number of words in the reference (N=S+D+C).
31
+
32
+ This value indicates the average number of errors per reference word. The lower the value, the better the
33
+ performance of the ASR system with a WER of 0 being a perfect score.
34
  ---
35
 
36
  # Metric Card for WER