There was an error while loading. Please reload this page.
1 parent 7f2d616 commit de292ceCopy full SHA for de292ce
papersbot.py
@@ -188,6 +188,8 @@ def cleanText(s):
188
s = s.replace("[ASAP]", "")
189
# Some feeds have LF characeters
190
s = s.replace("\x0A", "")
191
+ # Remove (arXiv:1903.00279v1 [cond-mat.mtrl-sci])
192
+ s = re.sub(r"\(arXiv:.+\)", "", s)
193
# Remove multiple spaces, leading and trailing space
194
return re.sub("\\s\\s+", " ", s).strip()
195
0 commit comments