Spaces:
Sleeping
Sleeping
Commit
·
90ee191
1
Parent(s):
f5830cc
Update app.py
Browse files
app.py
CHANGED
|
@@ -69,7 +69,7 @@ def preprocess_text(text):
|
|
| 69 |
replace_by = " "
|
| 70 |
replacement_map = {
|
| 71 |
ord(c): replace_by
|
| 72 |
-
for c in '
|
| 73 |
}
|
| 74 |
text = text.translate(replacement_map)
|
| 75 |
|
|
|
|
| 69 |
replace_by = " "
|
| 70 |
replacement_map = {
|
| 71 |
ord(c): replace_by
|
| 72 |
+
for c in ':•#{|}' + string.digits
|
| 73 |
}
|
| 74 |
text = text.translate(replacement_map)
|
| 75 |
|