Update app.py
Browse files
app.py
CHANGED
|
@@ -25,7 +25,7 @@ stop_words = [
|
|
| 25 |
'under', 'until', 'up',
|
| 26 |
'very',
|
| 27 |
'was', "wasn't", 'we', "we'd", "we'll", "we're", "we've", 'were', "weren't", 'what', "what's", 'when', "when's", 'where', "where's", 'which', 'while', 'who', "who's", 'whom', 'why', "why's", 'with', "won't", 'would', "wouldn't",
|
| 28 |
-
'you', "you'd", "you'll", "you're", "you've", 'your', 'yours', 'yourself', 'yourselves', "-","+91","pm","am","cse","nit","sec","b","SECTION","section","media","omitted"
|
| 29 |
]
|
| 30 |
|
| 31 |
def clean_text(text):
|
|
|
|
| 25 |
'under', 'until', 'up',
|
| 26 |
'very',
|
| 27 |
'was', "wasn't", 'we', "we'd", "we'll", "we're", "we've", 'were', "weren't", 'what', "what's", 'when', "when's", 'where', "where's", 'which', 'while', 'who', "who's", 'whom', 'why', "why's", 'with', "won't", 'would', "wouldn't",
|
| 28 |
+
'you', "you'd", "you'll", "you're", "you've", 'your', 'yours', 'yourself', 'yourselves', "-","+91","pm","am","cse","nit","sec","b","SECTION","section","media","omitted","message","deleted","added"
|
| 29 |
]
|
| 30 |
|
| 31 |
def clean_text(text):
|