ccdv commited on
Commit
563f6e8
1 Parent(s): 5312831
Files changed (1) hide show
  1. govreport-summarization.py +2 -2
govreport-summarization.py CHANGED
@@ -94,6 +94,6 @@ class GovReportSummarizationDataset(datasets.GeneratorBasedBuilder):
94
  report = data["report"]
95
  summary = data["summary"]
96
 
97
- report = re.sub("+ ", " ", report)
98
- summary = re.sub("+ ", " ", summary)
99
  yield id_, {"report": report, "summary": summary}
 
94
  report = data["report"]
95
  summary = data["summary"]
96
 
97
+ report = re.sub(" +", " ", report)
98
+ summary = re.sub(" +", " ", summary)
99
  yield id_, {"report": report, "summary": summary}