rbawden commited on
Commit
6b284a4
1 Parent(s): 043061c

Update DiaBLa.py

Browse files
Files changed (1) hide show
  1. DiaBLa.py +1 -1
DiaBLa.py CHANGED
@@ -198,7 +198,7 @@ class Diabla(datasets.GeneratorBasedBuilder):
198
  'norm': normalised_text,
199
  'mt': mt_text,
200
  'id': id_,
201
- 'ref': reference_text.replace('’', "'"), # normalise apostrophes to be the same as mt
202
  'utterance_meta': utterance_info
203
  }
204
 
 
198
  'norm': normalised_text,
199
  'mt': mt_text,
200
  'id': id_,
201
+ 'ref': reference_text.replace('’', "'").replace('…', '...'), # normalise apostrophes to be the same as mt
202
  'utterance_meta': utterance_info
203
  }
204