Update ESLO.py
Browse files
ESLO.py
CHANGED
|
@@ -325,7 +325,7 @@ class ESLO(datasets.GeneratorBasedBuilder):
|
|
| 325 |
return ' '.join(match.group(1))
|
| 326 |
|
| 327 |
text = re.sub(r"\bNPERS\b", "", text)
|
| 328 |
-
text = re.sub('\bOK\b', 'ok', text)
|
| 329 |
text = re.sub(r'\b([A-Z]+)\b', replace_uppercase, text)
|
| 330 |
if not self.config.hesitation:
|
| 331 |
text = re.sub(r"(euh)|(hm)|(\b\w*\-\s)", "", text)
|
|
|
|
| 325 |
return ' '.join(match.group(1))
|
| 326 |
|
| 327 |
text = re.sub(r"\bNPERS\b", "", text)
|
| 328 |
+
text = re.sub(r'\bOK\b', 'ok', text)
|
| 329 |
text = re.sub(r'\b([A-Z]+)\b', replace_uppercase, text)
|
| 330 |
if not self.config.hesitation:
|
| 331 |
text = re.sub(r"(euh)|(hm)|(\b\w*\-\s)", "", text)
|