Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -120,8 +120,8 @@ def normalize_text(text):
|
|
120 |
for old, new in replacements:
|
121 |
text = text.replace(old, new)
|
122 |
|
123 |
-
# Remove punctuation
|
124 |
-
text = re.sub(r'[^\w\s]', '', text)
|
125 |
|
126 |
return text
|
127 |
|
|
|
120 |
for old, new in replacements:
|
121 |
text = text.replace(old, new)
|
122 |
|
123 |
+
# # Remove punctuation
|
124 |
+
# text = re.sub(r'[^\w\s]', '', text)
|
125 |
|
126 |
return text
|
127 |
|