Spaces:
Build error
Build error
Update preprocessing.py
Browse files- preprocessing.py +1 -1
preprocessing.py
CHANGED
|
@@ -67,7 +67,7 @@ class NegativeWordReplacer:
|
|
| 67 |
replacement = replacement.capitalize()
|
| 68 |
|
| 69 |
new_tokens.append(replacement)
|
| 70 |
-
elif pos in ["adjective"
|
| 71 |
continue # Remove exaggerated words
|
| 72 |
else:
|
| 73 |
new_tokens.append(token.text)
|
|
|
|
| 67 |
replacement = replacement.capitalize()
|
| 68 |
|
| 69 |
new_tokens.append(replacement)
|
| 70 |
+
elif pos in ["adjective"]:
|
| 71 |
continue # Remove exaggerated words
|
| 72 |
else:
|
| 73 |
new_tokens.append(token.text)
|