Spaces:
Runtime error
Runtime error
Updating module
Browse files- levenshtein_distance.py +1 -1
levenshtein_distance.py
CHANGED
@@ -110,7 +110,7 @@ class LevenshteinDistance(evaluate.Comparison):
|
|
110 |
# TODO: Download external resources if needed
|
111 |
pass
|
112 |
|
113 |
-
def _compute(self, predictions, references, tokenizer=
|
114 |
"""Returns the scores"""
|
115 |
|
116 |
dists = []
|
|
|
110 |
# TODO: Download external resources if needed
|
111 |
pass
|
112 |
|
113 |
+
def _compute(self, predictions, references, tokenizer=lambda x: x.split(), normalize=False):
|
114 |
"""Returns the scores"""
|
115 |
|
116 |
dists = []
|