Spaces:
Build error
Build error
test: Test out better preprocessing or urls
Browse files
app.py
CHANGED
@@ -57,8 +57,8 @@ def _remove_stopwords(txt_list: List[str]):
|
|
57 |
return [' '.join([word for word in tweet if word not in stopwords]) for tweet in txt_list]
|
58 |
|
59 |
preprocess_pipeline = [
|
60 |
-
_remove_unk_chars,
|
61 |
_remove_urls,
|
|
|
62 |
_remove_punctuation,
|
63 |
_remove_stopwords,
|
64 |
]
|
|
|
57 |
return [' '.join([word for word in tweet if word not in stopwords]) for tweet in txt_list]
|
58 |
|
59 |
preprocess_pipeline = [
|
|
|
60 |
_remove_urls,
|
61 |
+
_remove_unk_chars,
|
62 |
_remove_punctuation,
|
63 |
_remove_stopwords,
|
64 |
]
|