Datasets:
Update DiaBLa.py
Browse files
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,
|
202 |
'utterance_meta': utterance_info
|
203 |
}
|
204 |
|
|
|
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 |
|