ncoop57 commited on
Commit
909bc3c
·
1 Parent(s): 55211c9

Updating module

Browse files
Files changed (1) hide show
  1. 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=None, normalize=False):
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 = []