Update README.md
Browse files
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 📈
|
|
4 |
colorFrom: blue
|
5 |
colorTo: red
|
6 |
sdk: gradio
|
7 |
-
sdk_version:
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: apache-2.0
|
@@ -13,14 +13,17 @@ tags:
|
|
13 |
- metric
|
14 |
short_description: Normalized Edit Distance (NED)
|
15 |
description: >-
|
16 |
-
The Normalized Edit Distance (NED) is a metric used to quantify the
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
|
|
|
|
|
|
24 |
---
|
25 |
# Metric Card for NED
|
26 |
|
@@ -38,4 +41,4 @@ gt: ground-truth sequence
|
|
38 |
|
39 |
pred: predicted sequence
|
40 |
|
41 |
-
ED: Edit Distance, the minimum number of editing operations (insertions, deletions, substitutions) needed to transform one sequence into the other.
|
|
|
4 |
colorFrom: blue
|
5 |
colorTo: red
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 4.44.0
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: apache-2.0
|
|
|
13 |
- metric
|
14 |
short_description: Normalized Edit Distance (NED)
|
15 |
description: >-
|
16 |
+
The Normalized Edit Distance (NED) is a metric used to quantify the
|
17 |
+
dissimilarity between two sequences, typically strings, by measuring the
|
18 |
+
minimum number of editing operations required to transform one sequence into
|
19 |
+
the other, normalized by the length of the longer sequence. The NED ranges
|
20 |
+
from 0 to 1, where 0 indicates identical sequences and 1 indicates completely
|
21 |
+
dissimilar sequences. It is particularly useful in tasks such as spell
|
22 |
+
checking, speech recognition, and OCR. The normalized edit distance can be
|
23 |
+
calculated using the formula: NED = (1 - (ED(pred, gt) / max(length(pred),
|
24 |
+
length(gt)))) Where: gt: ground-truth sequence pred: predicted sequence ED:
|
25 |
+
Edit Distance, the minimum number of editing operations (insertions,
|
26 |
+
deletions, substitutions) needed to transform one sequence into the other.
|
27 |
---
|
28 |
# Metric Card for NED
|
29 |
|
|
|
41 |
|
42 |
pred: predicted sequence
|
43 |
|
44 |
+
ED: Edit Distance, the minimum number of editing operations (insertions, deletions, substitutions) needed to transform one sequence into the other.
|