Spaces:
Sleeping
Sleeping
Commit
·
bef7a31
1
Parent(s):
f592361
Update app.py
Browse files
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
|
| 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 ","").\
|