sobir-hf commited on
Commit
7659125
1 Parent(s): e35a36d

corrected more annotation mistakes

Browse files
Files changed (2) hide show
  1. annotations_parser.py +2 -1
  2. data.jsonl +0 -0
annotations_parser.py CHANGED
@@ -73,7 +73,8 @@ def preprocess_text(text: str):
73
  text = text.strip()
74
  text = re.sub(r'\n+', '\n', text)
75
  text = re.sub(r' +', ' ', text)
76
-
 
77
  return text
78
 
79
 
 
73
  text = text.strip()
74
  text = re.sub(r'\n+', '\n', text)
75
  text = re.sub(r' +', ' ', text)
76
+ text = text.replace(' \n', '\n')
77
+ text = text.replace('\n ', '\n')
78
  return text
79
 
80
 
data.jsonl CHANGED
The diff for this file is too large to render. See raw diff