Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -59,7 +59,7 @@ def preprocess_text():
|
|
| 59 |
return "".join([char for char in text if char not in string.punctuation])
|
| 60 |
|
| 61 |
# applying the function
|
| 62 |
-
df["cleaned_content"] = df["cleaned_content"].apply(lambda text: remove_punctuation(text)
|
| 63 |
|
| 64 |
# Get the list of stop words
|
| 65 |
stop_words = set(stopwords.words('english'))
|
|
|
|
| 59 |
return "".join([char for char in text if char not in string.punctuation])
|
| 60 |
|
| 61 |
# applying the function
|
| 62 |
+
df["cleaned_content"] = df["cleaned_content"].apply(lambda text: remove_punctuation(text))
|
| 63 |
|
| 64 |
# Get the list of stop words
|
| 65 |
stop_words = set(stopwords.words('english'))
|