Datasets:

Modalities:
Text
Formats:
json
ArXiv:
Libraries:
Datasets
pandas
License:
Files changed (1) hide show
  1. update.py +1 -1
update.py CHANGED
@@ -59,7 +59,7 @@ def clean_text(func):
59
 
60
  def inner(*args, **kwargs):
61
  text = func(*args, **kwargs)
62
- text = text.replace("\n", " ")
63
  text = text.replace(" .", ".")
64
  text = re.sub(' +', ' ', text)
65
  text = re.sub(' *[.] *', '. ', text)
 
59
 
60
  def inner(*args, **kwargs):
61
  text = func(*args, **kwargs)
62
+ # text = text.replace("\n", " ")
63
  text = text.replace(" .", ".")
64
  text = re.sub(' +', ' ', text)
65
  text = re.sub(' *[.] *', '. ', text)