ferdmartin commited on
Commit
bef7a31
·
1 Parent(s): f592361

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def main():
45
  text = re.sub(pattern1, "", text)
46
  text = re.sub(pattern2, "", text)
47
 
48
- return text.replace("REDACTED", "").lower().replace("[Name]", "").replace("[your name]", "").replace("\n your name", "").\
49
  replace("dear admissions committee,", "").replace("sincerely,","").\
50
  replace("[university's name]","fordham").replace("dear sir/madam,","").\
51
  replace("– statement of intent ","").\
 
45
  text = re.sub(pattern1, "", text)
46
  text = re.sub(pattern2, "", text)
47
 
48
+ return text.replace("REDACTED", "").lower().replace(" "," ").replace("[Name]", "").replace("[your name]", "").replace("\n your name", "").\
49
  replace("dear admissions committee,", "").replace("sincerely,","").\
50
  replace("[university's name]","fordham").replace("dear sir/madam,","").\
51
  replace("– statement of intent ","").\