Datasets:

License:
MotzWanted commited on
Commit
9068569
1 Parent(s): 119b02b

Update medwiki.py

Browse files
Files changed (1) hide show
  1. medwiki.py +1 -1
medwiki.py CHANGED
@@ -118,4 +118,4 @@ class MedWikipediaCorpusGenerator(datasets.GeneratorBasedBuilder):
118
  # the first line is the title
119
  title = f.readline()
120
  text = f.read()
121
- yield i, {"document.text": self._clean_text(text), "document.idx": i, "document.title": self._clean_text(title)}
 
118
  # the first line is the title
119
  title = f.readline()
120
  text = f.read()
121
+ yield i, {"document.text": text, "document.idx": i, "document.title": title}