Datasets:

Modalities:
Text
Languages:
English
Libraries:
Datasets
License:
Zhangir Azerbayev commited on
Commit
bc04843
1 Parent(s): e3d3b09

added clarifying comment

Browse files
Files changed (1) hide show
  1. fetch_arxiv.py +1 -1
fetch_arxiv.py CHANGED
@@ -133,7 +133,7 @@ def clean_tex_file_some_more(path):
133
  with open(path) as f:
134
  text = f.read()
135
 
136
- text = re.sub(r"(?<!\\)%.*", "", text)
137
 
138
  match_obj = re.search(r"\\begin\{document\}", text)
139
  if match_obj:
 
133
  with open(path) as f:
134
  text = f.read()
135
 
136
+ text = re.sub(r"(?<!\\)%.*", "", text) # deletes comments
137
 
138
  match_obj = re.search(r"\\begin\{document\}", text)
139
  if match_obj: