BrunoHays commited on
Commit
4769095
·
1 Parent(s): f920253

Update ESLO.py

Browse files
Files changed (1) hide show
  1. ESLO.py +1 -1
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)